...

View Full Version : Problem with alignment in IE



noneforit
05-08-2009, 06:41 PM
Hello

I have created the following site from scratch (first attempt :S) and all appears to be ok except the main body of text appears slightly to far on the right in IE. It appears ok in firefox?

Any help would be appreciated

http://www.homepcvisit.com/test3/TEST.html

Thanks

SB65
05-08-2009, 08:28 PM
It's OK in IE7, but not in IE6. I think you are the victim of the IE6 float doubled margin bug (http://positioniseverything.net/explorer/doubled-margin.html).

Try adding


display:inline

to your css for #left.

You've also got quite a lot of errors in your html, which you can view at the w3c validator (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.homepcvisit.com%2Ftest3%2FTEST.html&charset=(detect+automatically)&doctype=Inline&group=0). It'd be worth working through these. Don't panic when you look at this, it probably isn't quite as bad as it looks.

noneforit
05-09-2009, 11:02 AM
Excellent

That worked perfect, thanks very much

Yep I have checked the HTML validation already and im gonna wait until the site is finished before correcting the errors. Most are where ive used dreamweaver to style the elements instead of adding it to the CSS.

Cheers



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum