Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resize causing div's to be out of sync

Status
Not open for further replies.

iostream71

Programmer
Mar 13, 2002
229
US
i have some div's and noticed if i resize the browser, they aren't lined up any more. this is in the ie/ns 6 browsers
 
What do you mean???? Which way should they be lined up? Which way DO they line up? Which way does the browser get resized to. etc. Need more info. Thanks!

Rick If I have helped you just click the first link below to let me know :)
 
ok, say everything is lined up perfectly on the page at full screen. if i shrink the screen, the divs are all out of position(i think they're keeping their original spot and not moving with the resize)
 
It happens because your scrolling images are positioned alsolutely (style=&quot;Z-INDEX: ... POSITION: absolute) while area in the center is placed inside a table which is inside <div align=&quot;center&quot;>.
It adjusts it's position when a window is resized to remain centered, but scrolling area keeps the same absolute coordinates that were defined.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top