problem clearing a float with IE7
Posted: Sat, 2008-05-17 12:40
Hi guys,
please help me with this problem which is driving me mad!
I have prepeared a simplified version of the page at this URL: http://www.accademiainternazionalediscacchi.com/tests/
Look it with Ffox first. Nice uh? Hehe just joking
Anyway, now that you've seen the good version, take a look with IE7. The white div doesn't really expand as I'd like it to do.
Any ideas?
The CSS file is called common.css, it's in the same directory.
Thanks!!
Sifro


Guru
Posts: 2605
Joined: 2005-12-14
Location: Victoria British Columbia
Start by getting your html
Posted: Sat, 2008-05-17 14:29
Start by getting your html valid. There is no CSS standard for invalid html.
I am not now, nor was I ever, any kind of "dude".
Ed Seedhouse
Regular
Posts: 24
Joined: 2007-08-25
ok sorry i forgot a few tags
Posted: Sun, 2008-05-18 10:06
ok sorry i forgot a few tags without closing them.
But they were
e tags, so it wasn't really important for the layout.
Now it's validated.
Guru
Posts: 2605
Joined: 2005-12-14
Location: Victoria British Columbia
Sifro wrote:ok sorry i
Posted: Sun, 2008-05-18 17:45
What few shreds I have left of professional pride would not let me post code here with any errors at all, particularly when validating is so easy.
I suspect you need to read up on how enclosing floats is supposed to work - IE does this wrong.
Otherwise try making your question a little clearer. I'm not really sure what you want from your posts and the page doesn't help much, at least it doesn't help me much.
Your code as posted is very unsemantic. What are those BR's for anyway? CSS makes them unecessary and pointless in this context.
I am not now, nor was I ever, any kind of "dude".
Ed Seedhouse