noob question: Centering Stuff in CSS w/ Sidebars

Discussion in 'CSS' started by GSto, Oct 3, 2007.

  1. #1
    I'm pretty new to CSS, and this has been throwing me for a loop. I want to make a layout where there are two sidebars, one on the left, one on the right, and the main content in the middle. How would one go about doing this?

    Another problem I'm running into is that while the left sidebar is all the way at the top of the screen, the right sidebar is further down the page. I used float:left-down on the two blocks I wanted on the left, and that worked fine. I used float:right on the right block, if that helps.
     
    GSto, Oct 3, 2007 IP
  2. jared

    jared Peon

    Messages:
    231
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jared, Oct 3, 2007 IP
  3. kanaderohan

    kanaderohan Banned

    Messages:
    274
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you might use element positioning instead of floats
     
    kanaderohan, Oct 3, 2007 IP