On 20.06.2011 11:00, Göldi wrote:
Heres the site: http://www.goeldi.eu/abusart/
Can anybody tell me the reason and how to avoid this behaviour?
Reason: the various, stacked, elements don't relate to each other, and
therefore don't adjust dimensions to each other. Natural fallback is
body-width in browser-window, which causes the effect you're seeing with
the element holding the background not being wider than the browser-window.
For that specific case/page you may get away with setting a specific
width on relevant elements, for instance...
#wraponcircle, #wrap {1130px;}
...but it would all be so much easier if you avoided reliance on
absolute positioning and made sure all containers actually contained
their intended content.
regards
Georg
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/