Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How do i get the background to conintue down the length of the page!

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32892
    privettl
    Member

    Hi,

    I am currently creating a CSS layout and it has at current 2 columns a left and middle and i want the left with a background of gray to continue down the whole length of the page no matter how long it is. e.g. if the middle column was longer then the left should become the same length. I haven’t a clue how to!

    Can anyone help? Cheers in advance!

    Lewis

    #75203
    Qbit
    Member

    Hi,

    you have several options to achive this effect. Take a look at this: Equal Height Columns using CSS or the article by Chris Fluid Width Equal Height Columns.

    Hope this helped.

    Qbit

    #82343
    Kenny
    Member

    Hi, try setting the columns parent to overflow:auto

    #88652
    Krewe
    Member

    You probably figured it out by now, but if you make the

     background-position:fixed; 

    into the css for the correct id/class the grey background will stay there whenever someone scrolls.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.