Browser Compatability Issues?
Posted: 06 May 2007 10:19 AM   [ Ignore ]
Newbie
Rank
Total Posts:  10
Joined  2007-05-06

Hi,

I have been using css for formatting text and tags for a while now but still havent gone the whole hog and used css altogether.  One of the main reasons is all the talk of needing to use hacks for different browsers.  I was about to take the plunge a while ago and then heard that alot of sites had to be reworked when IE7 was realeased and i just thought it would be more hassle than its worth.

I have a weeks holiday coming up and was mulling over the idea of breaking out the css book.  Do any of you find it a pain with the hacks that are necessary or are their just some standard one’s that once i know i will not have to be worrying about it anymore?

Thanks

Profile
 
 
Posted: 06 May 2007 08:28 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  21
Joined  2007-05-05

hacks aren’t as necessary as you might think.. 90% of the code you write works across the board - if you remember to specify all attributes..there are about 5-10 essential tricks / techniques to be aware of, but there are plenty of forums (like this) full of helpful css and standards gurus to assist you as long as you *try* ;)

Profile
 
 
Posted: 06 May 2007 08:34 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  10
Joined  2007-05-06

I suppose i’ve been avoiding the issue long enough, time to digg in, wish me luck!!  I have a good sitepoint book thats been sitting on the shelves for a good year so that should get me well on track.

Profile
 
 
Posted: 14 June 2007 06:50 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  14
Joined  2007-06-13

As a rule I always try to stay away from Hacks, as a rule I tend to wrap my classes in extra divs to account for issues in IE6.  As for people having to retool there website for IE7, generally these are people that had sites that were not compatible with Firefox.  I find that both IE7 and Firefox render CSS nearly identically, it is IE6 that had several issues.  It is best practice that whenever you explicity define a width for anything in CSS don’t adding a Padding!  As a test create a div with a width of 200px and a blue background, then add a padding of 20px to this div.  Now view this page in IE6, IE7, and Firefox, can you spot the difference?

Profile
 
 
Posted: 22 June 2007 05:31 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  10
Joined  2007-06-21

I try to avoid hacks. What I do is use conditional code to load additional stylesheets in IE. Then I just override the tags that need to be overridden.

Profile
 
 
Posted: 05 July 2007 08:59 AM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  7
Joined  2007-07-05

yep - best way to do it I think.

Profile
 
 
   
 
 
‹‹ Nested Inline Divs?      Line Space Issue ››