All Content in a Single Centered Column

Discussion in 'CSS' started by halfdesicaffeine, Jun 28, 2009.

  1. #1
    I would like to put all of my CSS content at http://www.vu.union.edu/~bhangra/ into a single, fixed width centered column, similar to the one at http://www.pennmasala.com/index.php.

    I see two possibilities. I could either use div tags to make a column, but I'm not sure how I would do that without messing up my other divs. Or, I could make an image and repeat it horizontally, but I'm sure that would cause some issues with my existing vertically-repeated images. Does anyone have an idea of how to do this?
     
    halfdesicaffeine, Jun 28, 2009 IP
  2. unigogo

    unigogo Peon

    Messages:
    286
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    unigogo, Jun 29, 2009 IP
  3. Istvan

    Istvan Well-Known Member

    Messages:
    1,544
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    175
    #3
    Not sure if this is what you want to do but to make a div centered horizontaly in page you can use this code
    div.mydivname {margin: 0 auto;}
    Code (markup):
     
    Istvan, Jun 29, 2009 IP