Forum Moderators: open

Message Too Old, No Replies

2 backgrounds on 1 page

         

JakeFrederick

3:53 pm on Jan 17, 2002 (gmt 0)

10+ Year Member



I'm trying to put a vertical stripe running down the left and the right sides of a page. The content resizes with the browser window so I can't just make it one wide image. I tried two divs on either side but I can't seem to figure out how to make them fit the whole screen width no matter the size and how many times the window is resized. Any suggestestions on how I can achieve this?

joshie76

4:06 pm on Jan 17, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not entirely sure what you are tring to achieve but the first thing I'm thinking
is to try a table with 2 (or would you need 3?) columns and the backgrounds applied to the cells not the table. Be warned that NN4 can be a bit funny with this but I'm sure there are ways around this.

Perhaps you have a URL you can StickyMail me so I can have a look at what you have so far?

JakeFrederick

9:38 pm on Jan 21, 2002 (gmt 0)

10+ Year Member



>Not entirely sure what you are tring to achieve but the first thing I'm thinking
>is to try a table with 2(or would you need 3?) columns and the backgrounds >applied to the cells not the table. Be warned that NN4 can be a bit funny with >this but I'm sure there are ways around this.

This is basically what I'm trying to do, although I'm laying the whole thing out with CSS and no tables. But either way the problem has been that I can't figure out a way to set the height of the columns so the background doesn't stop as soon as you scroll down. I have been setting the height to a large number, but then the scroll bar on the right always shows more page when there really isn't anything but background. Is there a way to fill a column with a background that is always displayed no matter how much scrolling or resizing happens,like when you place a background in the body?