Hola everyone!
Here's the new issue...I have a tiling background assigned to the right side of the BODY element. It's very tall (1228px) and set to repeat-y as follows:
Code CSS:
body {
background: url('../images/border.jpg') right top repeat-y;
}
I want the graphic to stay on the the right window edge, unless the window drops below 1050px. Then I want it to stick at 1050px on the right edge and stay there, forcing scroll bars, and keeping the image stuck at that width.
Well...here's what I've tried that doesn't work:
Code CSS:
body {
min-width: 1050px;
background: url('../images/border.jpg') right top repeat-y;
}
min-width forces the scrollbars, but the graphic remains fixed to the right now matter how small. Can I get the graphic stick at 1050px or greater?
For an example of this on a live site (not working mind you...it sticks to the right regardless of size), take a look
here.
I have tried a wrapper with a fixed width, and then attaching the background. This worked, but clipped the graphic to the height of the wrapper, which fails whenever the page is really short (it'll only go down as far as the wrapper which is unacceptable...). I'd be open to a 100% height solution with a wrapper if it exists.
Bookmarks