View Single Post
Old 03-17-2009, 11:57 AM   #2
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
ooh neko, i feel your pain. ie6 is the devil.

when i absolutely have to code for ie6, i use conditional comments in the css to create special rules for different browsers. then in the html, i add a wrapper and an extra ie6 conditional div like this :

at the start of the body :
Code:
<!--conditional div for IE 6 and older--> 
<!--[if lte IE 6]>  
<div id="ie6anddown">  
<![endif]-->
and at the very end of the body :

Code:
<!--END conditional div for IE only--> 
<!--[if IE]>  
</div>  
<![endif]-->
then in the css, you create rules for non-ie6 by specifying :

non ie6
Code:
body>#wrapper .nav
ie6
Code:
#ie6anddown .nav
this allows you to define the behavior of the site depending on which browser is displaying it.

i'll try to take a closer look later but i'm about to go out now.
zelda_pinwheel is offline   Reply With Quote