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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layout breaks with window resizing

Status
Not open for further replies.

Baldwin238

Technical User
Feb 23, 2005
68
US
For a friend of mine, a pole dance fitness studio site. My layout breaks, looks like the middle white/gray content area shifts to the left/right (depending on browser, weird) about 1-2 pixels when the window is resized (smaller in Moz and maxed in IE)

FF on Mac with non-maxed screen size:
301li7r.png

The screenshot from IE is the same, but only occurs when I max the screen size.

SITE: (temp landing spot) NON-IE CSS: IE CSS:
Any thoughts? Thanks in advance!

Jeff

Jeff Baldwin
sig2.gif
 
You are centring both the background and the container, but you have given your container an explicit width, whereas your body does not have one.

If you remove the width on your container this behaviour is fixed (at least in Fx 3).

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top