Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 04-25-2008, 03:10 AM Different CSS files
Truly's Avatar
Ultra Talker

Posts: 321
Trades: 0
Do you guys ever find it necessary to make a different css file for IE than for FF? I know that even in the little ammount of work I have done I have come across huge differences in display. Now Im sure in my case its probably just bad coding, but for those of you who ACTUALLY know what youre doing, do you ever find thats necessary?

As a side question, do developers not have any sort of power (like through the w3c) to try and push for tighter rules as to how browsers deal with css? If rules can be as strict as they are for JS why cant they be for css? Is it just Mozilla and MS being stubborn?
__________________
DVD Movie Release Database:
Please login or register to view this content. Registration is FREE

Last edited by Truly; 04-25-2008 at 03:13 AM..
Truly is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-25-2008, 03:23 PM Re: Different CSS files
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
Do you guys ever find it necessary to make a different css file for IE than for FF?
Yes, but the separate file ONLY contains those properties necessary to make IE behave and it is called via Conditonal Comments so that ONLY IE will read it.
Quote:
As a side question, do developers not have any sort of power (like through the w3c) to try and push for tighter rules as to how browsers deal with css?
W3C standards group cannot force anything with the browser vendors, but they do have representatives as part of that organization. They are a very slow-moving body. Mozilla isn't the problem, it's MS that's been the fly in the ointment for years. IE7 was a step in the right direction, IE8 is supposed to be much more standards-compliant than it's predecessors.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-25-2008, 07:45 PM Re: Different CSS files
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'll echo everything LNR said above.

Truly the more you code css layouts the better you get at knowing the differences between FF and IE. Often I don't need to write any IE specific code, but when I do it's usually no more than a half dozen lines of code.

What you're probably finding is that FF and IE will sometimes have different defaults set for paddings and margins. If you explicitly set margins and paddings FF and IE will most of the time behave the same. The trick is getting to know where they differ so you need to set things explicitly and where they behave the same so you don't have to.

Again I'll agree with LNR about the W3C. They don't have the authority to enforce anything, but browsers are learning it's a good idea to adhere to the standards. Microsoft still needs to catch up more, but it's gotten much better recently. Of course now that it's catching up with CS2, we all want to see better support for CS3 implemented.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Different CSS files
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33781 seconds with 12 queries