Simple 2 column question

Discussion in 'CSS' started by wd_2k6, Sep 3, 2008.

  1. #1
    Hi,

    I want 2 columns.

    Right column is 500px

    Left column takes up all available reamining space according to browser window.

    Lets also add 10px padding in between the 2 and from the right and left of screen.
     
    wd_2k6, Sep 3, 2008 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    EDIT; Managed to find my head again, for anybody's info all I needed was

    HTML Div's :
    <wrap>
    <left></left>
    </wrap>
    <right>
    </right>

    With wrap at 100% and floated left
    Left DIV margin right equal to width of right column
    Right DIV set width and margin left of -thewidth
     
    wd_2k6, Sep 3, 2008 IP