novice css issue

Discussion in 'HTML & Website Design' started by jwc8s, Dec 25, 2007.

  1. #1
    I've got a basic site layout using divs and an imported css file. When I view this in IE7 it looks fine, but FF has the columns aligned to the left no matter what I do. What am I missing here?

    HTML:
    CSS:

     
    jwc8s, Dec 25, 2007 IP
  2. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Didnt really spend a long time looking at this, but try floating col2 to the left and you may have to reduce the width of col2. Try,

    
    #col2
    {
    position: relative;
    width: 29.9%;
    float: left;
    }
    
    Code (markup):
     
    nicangeli, Dec 25, 2007 IP