Help with layout...

Discussion in 'CSS' started by sotton_u, Mar 26, 2007.

  1. #1
    Hey guys,

    Got a bit of a problem with the css layout I’m currently working on…

    [​IMG]

    The menus on the right always overlap when the browser in downsized?

    Btw, I need to keep their position fixed :)

    Apart from that the site views okay in IE7, FF and Opera.

    Here’s the URL: http://www.wightgame.co.uk/portfolio/

    And the css: http://www.wightgame.co.uk/portfolio/mycss.css

    Can anyone help :confused:

    Cheers,
     
    sotton_u, Mar 26, 2007 IP
  2. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #2
    Do this...
    
    <style>
    #container div{
      float: left;
      }
    </style>
    <div id="container">
         <div id="left_col">
         </div>
         <div id="mid_col">
         </div>
         <div id="right_col">
         </div>
    </div>
    
    Code (markup):
    or something like that. Should work, I use something along those lines :)
     
    Louis11, Mar 26, 2007 IP
  3. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You have set the center column with a fixed width of 770px. You're also designing for a very large screen res, so even 1024 isn't big enough to fit it in.
     
    Crimsonc, Mar 26, 2007 IP
  4. sotton_u

    sotton_u Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks mate ;)

    Then would I set all the widths to auto?

    I'll give it a go!

    Cheers.
     
    sotton_u, Mar 27, 2007 IP