Could someone please take a look at the internal pages of this site and tell me why the main content div won't go up to the top. It seems to always stay below the left side div, no matter what I do. The problem is seen on Windows using IE 6 and 7. Looks okay on a Mac using Firefox.
http://www.catawbacounseling.com/docs/victoria.html
Any advice for a newbie css developer would be GREATLY appreciated.






webwiz posted this at 03:41—21st January 2008.
He has: 319 posts
Joined: May 2007
The "width" on #content is giving IE "hasLayout"[1] conniptions. Try deleting the width declaration altogether, and you should find IE behaving. You may want to increase the right padding value to compensate for the slightly wider default width.
Tested in IE7 and IE6 on Win XP Pro. IE5.5 has box model[2] issues, if you care.
[1] http://www.satzansatz.de/cssd/onhavinglayout.html
[2] http://css-discuss.incutio.com/?page=BoxModelHack
Cordially, David
--
"Old web developers don't die, they degrade gracefully..."