Topic: Forcing a DIV container to play like the BODY, html for BG image |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: |
posted 07-13-2006 07:27
Is this possible? I've set up a website with a background that sort of laces the sides of the main content interface. I've done it in this way so that users with low-resolution screens won't get an evil horizontal scrollbar due to a too-wide design, while high-res users can still enjoy the frilley border. |
Nervous Wreck (II) Inmate From: |
posted 07-13-2006 08:19
Any normal element should always force the horizontal scrollbar ... not just a DIV. Obviously, there are exceptions (positioned elements, negative margins, etc), but it is to be expected for elements that extend past the viewport ... you could use overflow:hidden, but that creates its own problems (like no vertical scrollbar when you need it). |
Paranoid (IV) Inmate From: Florida |
posted 07-13-2006 22:10
It sounds like you're overlooking the usefulness of the 'html' element. |
Bipolar (III) Inmate From: |
posted 07-15-2006 06:59
Once again, great solutions and clear explanations from this community. Problem solved! Thanks!!! |
Bipolar (III) Inmate From: |
posted 07-15-2006 08:07
That being said, can anyone explain the following quirky activity? |
Paranoid (IV) Inmate From: Florida |
posted 07-15-2006 18:45
quote:
|