« Going Under the Knife | Main | Plugging Along »

February 10, 2004

Question for the Techies

Does anybody know the code to extend my second column automatically to the length of my main column?

The Daily | By WonderGirl | 10:20 PM

Comments

Sorry, I am clueless when it comes to technology. :-)

Posted by: Rus at February 10, 2004 10:25 PM

theres several ways to go about it .. one is to create vertically tiled background image to create the illusion of colored columns

next

A whole image is no more than a few pixels tall, but when vertically tiled, it creates the colored columns that will flow all the way down to the bottom of the page — regardless of the length of content in the columns

This elementary CSS rule is added to the body element:

background: #E5FAF0 url(../images/whateverimage800.gif) repeat-y 50% 0;

Essentially, we’re making the entire page’s background color green and tiling it vertically only (repeat-y). The 50% 0 bit refers to the positioning of the background image — in this case, 50% from the left side of the browser window (resulting in a centered image) and 0 pixels from the top

Posted by: matt_31 at February 11, 2004 9:38 AM

What about the tiled image I have already set as the background (the grayish square diagonals)?

Posted by: Wondergirl at February 11, 2004 10:02 AM

Email "Question for the Techies" to a friend!

Email this entry to:


Your email address:


Message (optional):