aardvark.dj

« Broked | Main | IE Display Bug & Mozilla Float Weirdness resolved »

Monday 3 May 2004

Bloody CSS!

Anyone any good with CSS? I'm tearing my hair out today.

I'm creating a new website for my VAT Consultant employers. It's CSS base rather than using tables because I think CSS produces better results and Google seems to like it better.

Unfortunately the CSS is having a few problems, especially with FLOAT: properties. One of the pages I'm having problems with should look like this:

cssprob3.jpg

Unfortunately in IE6 (on my machine at least) it looks like this:

cssprob2.jpg

And in Mozilla Firefox it looks like this:

cssprob1.jpg
May 3, 2004 10:55 PM | Computing

2 Comments

Heh, I'm not great with CSS, as seen from my recent problems on my site. For the first problem in IE6, have you tried a z-index property on the left floated div? Say maybe a z-index: 3 and the rest of the divs z-index: 2? As for the second, where you have text encroaching the upper divs, you could try a
. This makes sure that everything below that declaration is below that declaration. Just some ideas. Like I said, not good at all with CSS.

Gotta love that sanitize spec. Anyway, the code that was taken out was:
[br clear="all" /]
Of course, the [] gets replaced with angle brackets.

Leave a comment
















« Broked | Main | IE Display Bug & Mozilla Float Weirdness resolved »

Sponsored Links

www.flickr.com
This is a Flickr badge showing public photos and videos from theaardvark. Make your own badge here.

follow theaardvark at http://twitter.com


Blogroll

the churning
gatorpilot
thedeplorableword
iamdecal
domesticated bloggage

Comics

Evil Inc
PVPonline
Ctrl Alt Del
Real Life
Wapsi Square
Sinfest
Least I Could Do
Dueling Analogs
xkcd
Blastwave

« # Blogging Blokes ? »
< # Blogging Brits ? >
« # Euro Blogs ? »
? Domain . Addict #
« # Biking Bloggers ? »
theaardvark