Help! Div shifts while centering...
Much appreciation if someone could help me with this sticky wicket.
If you load this page you'll see that the white centered div shifts to the left very quickly once images load:
It does not do this on this page which uses the exact same HTML/CSS:
I've found that if I erase the images on the design page, the div matches up nicely with the art page. But why are those images loading screwing up the alignment from art section to design section?
I'm using Safari and Firefox - latest versions.
I do not know if I understand your problem but I have noticed, that this white space moves left because vertical scroolbar appears once images load.
<div id="container"> is moving left since its left and right margins are set to auto. For me it's OK but at 1024x786 resolutions the left side of <img src="../images/cornergraphic3.png"/> is being cut. If this is the problem you can try two things: narrow <div id="container"> or put cornergraphic3.png outside container-div(inside other, independent container with own auto-margins).
To always show the vertical scroll bar in Firefox, and so eliminate your problem (and achieve consistency with IE presentation) include this in your CSS:
Welcome to Webdeveloper.
Thank you so much for your help. You solved my problem and I sincerely appreciate taking the time to write. You are the best!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread