Need help moving left -> right and right -> left divs

Discussion in 'HTML & Website Design' started by wholesalechecklist, Nov 5, 2007.

  1. #1
    wholesalechecklist, Nov 5, 2007 IP
  2. babyboy808

    babyboy808 Well-Known Member

    Messages:
    491
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #2
    that is some dodgy css. If you created it correctly you could of changed it with 2 edits, but it looks like your gonna have to rework the code.
     
    babyboy808, Nov 5, 2007 IP
  3. xeena.chic

    xeena.chic Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    #content .wrapper {
    float: left;
    display:block; /* remove this line if position error */
    }
    #sidebar {
    width:120px;
    float:right;
    position:relative;
    padding:8px 0 0 8px;
    }

    im not sure but try this.. :)
     
    xeena.chic, Nov 5, 2007 IP
  4. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I thought so. I had it done my way, but then randomly someone said I could have done it better and redid it for me. It met w3c validation, so I assumed it was better then mine.

    How can I fix it?
     
    wholesalechecklist, Nov 6, 2007 IP
  5. wholesalechecklist

    wholesalechecklist Peon

    Messages:
    511
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I fixed it. content-wrapper -> left to right and sidebar -100% -> -17%.
     
    wholesalechecklist, Nov 6, 2007 IP