Topic: Forcing a DIV container to play like the BODY, html for BG image |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: |
![]() ![]() ![]() ![]() 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: |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() It sounds like you're overlooking the usefulness of the 'html' element. |
Bipolar (III) Inmate From: |
![]() ![]() ![]() ![]() Once again, great solutions and clear explanations from this community. Problem solved! Thanks!!! |
Bipolar (III) Inmate From: |
![]() ![]() ![]() ![]() That being said, can anyone explain the following quirky activity? |
Paranoid (IV) Inmate From: Florida |
![]() ![]() ![]() ![]() quote:
|