This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes css browswer compatibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "css browswer compatibility " Watch "css browswer compatibility " New topic

css browswer compatibility

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 166

Respected Sirs,

May I know the technic of handling css in different bowers. Some people writes separate css file for different bowers . Is it good programming practice.

Thank You,
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902

francis varkey wrote:Some people writes separate css file for different bowers . Is it good programming practice.

I don't have a good knowledge in CSS programming, but many times I found a separate CSS file for IE(only), and it usually contains a small hacks only applicable for IE, the rest of the CSS common for all html pages is placed in single file, say default.css or style.css. Now you can know about this hacks and how to load it in html page, simply by googling.

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Most developers will not seperate out CSS for browsers, that is just way to much work to maintain. There is no GUIDE to css differences. It is normally something you just learn from practice and google searches.

I agree. Here's the link:
subject: css browswer compatibility
Similar Threads
Pro CSS and HTML Design Patterns by Michael Bowers
pro CSS & HTML design book
consistent font size across the project?
Wrapping of select box
Welcome Michael Bowers