How do I break my CSS so it works in IE6

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Kadanis
Forum Contributor
Posts: 180
Joined: Tue Jun 20, 2006 8:55 am
Location: Dorset, UK
Contact:

How do I break my CSS so it works in IE6

Post by Kadanis »

Hi Guys

I'm working on a friends site doing some basic layouts and stuff, and for the first time, I'm going all out with the whole CSS table-less design layout thing.

I think I've got a pretty good handle on it, and I get a great looking layout in Firefox, Opera, Safari etc, except (you guessed it) in IE6.

Does anyone have any advice on how to break CSS so that it will work in IE6 but still display correctly in FF, Opera etc

Heres the page

http://www.germaniatravel.com/index.php5

CSS is in http://www.germaniatravel.com/css/styling.css
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Don't break it, just use extra wrapping divs to fix the box model problems. Use the wrapper divs for padding and margins.
(#10850)
Post Reply