div to stretch

Discussion in 'CSS' started by coldclimber, Jan 18, 2008.

  1. #1
    hope some one can help with this one.

    i have two dive side by side

    ---Div A---- then ----Div B----

    when content is placed into div A it stretches just fine but div B remains static and does not stretch to follow down the page. ie

    ---Div A---- then ----Div B----
    -----|------ mmm Div B says i will
    -----|------not follow you Div A
    -----|
    -----|
    ---Div A----


    The reason i ask is that i have a background image in each div so when content is in div A and nothing in div B i am only getting the left side of the background cos div B will not auto stretch down.

    hope this make sense
     
    coldclimber, Jan 18, 2008 IP
  2. bacwebdesign

    bacwebdesign Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    bacwebdesign, Jan 18, 2008 IP