Quote:
|
I don't really know how to use this code: display:inline; in css.
|
I TOLD you how - you create a separate CSS file, I call mine 'iefixes.css'. In that new file your css will have JUST the code to fix IE6. In this case it would be:
#content-right, #content-left{display: inline;}
Add any other ID's or classes that also have float:right with a right margin, or float:left with a left margin.
In your html, you use a CONDITIONAL COMMENT to call that 'iefixes.css' file. Google is your friend.. look it up!
Quote:
|
When i'm fixing in IE6, i use the css hack: * html .element i almost got it only a few errors left.
|
And that is a bad habit to get into, particularly since IE7 will choke on that *html hack.
Quote:
|
It just seems an uphill struggle trying to change years of (now classed as) bad habits.
|
There is no question that moving to table-less layouts and really mastering CSS is a steeper learning curve, but it's well worth the effort in the end  .
__________________
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
|