[ASK - CSS] about 2 div, fixed & relative width.

Discussion in 'CSS' started by thegreathero, Apr 18, 2008.

  1. #1
    Hello, I've been struggling with this for 3 hours, still no-clue.

    I hope someone could help me.

    http://i108.photobucket.com/albums/n5/stovila/divtest.gif

    that's the screen shot
    those are 2 DIVs
    on the right is float:right
    the left = float:left
    the right one has fixed width (200px)
    and i want the left one has a relative width (that can stretch to browser size).
    so I didn't put any WIDTH value, but that's what happen.
    couldn't line-up together

    Here's the code:

    Many thanks.
     
    thegreathero, Apr 18, 2008 IP
  2. thegreathero

    thegreathero Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I forgot to mention it, without absolute div.
     
    thegreathero, Apr 18, 2008 IP