CSS problem, please help

Discussion in 'HTML & Website Design' started by jon2k6, Feb 21, 2007.

  1. #1
    Hey, just created a new CSS menu down the left hand side in the sidebar and on pages where the menu is longer than the content, the menu just goes through the bottom of the page, obviously because it's CSS so intergrated into the design ....

    Here is an example of the problem:

    http://gervaisworld.com/qna-part1.html

    Can anyone help, tell me how to fix this please? thanks.
     
    jon2k6, Feb 21, 2007 IP
  2. Ziki

    Ziki Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Instead using <div id="content"> try using usual tables with CSS mark up.Check out my site it works with tables without any div
     
    Ziki, Feb 21, 2007 IP
  3. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #3
    The problem usually occurs when you use float. Try to avoid it. You can use a center aligned fixed width wrapper div. Then use two relative positioned div within it. After that set the left margin and width for both. For example, the left division should be 150px wide & left margin should be 0px, and for the right div use a left margin of 150 and width = (width of wrapper div - width of left div - 4 px for border). But I suggest you to use tables. It can make ur life a lot easier :D
     
    Aragorn, Feb 21, 2007 IP