Results 1 to 4 of 4

Thread: <div> table displacment

  1. #1
    Join Date
    Jul 2006
    Location
    San Diego
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry <div> table displacment

    http://www.dynamicdrive.com/dynamicindex1/hover.htm

    The CSS Horizontal hover menu default settings result in a <div> table displacement error bellow the navigation bar. The text and table bellow the CSS Horizontal hover menu are pushed downward.

    http://www.pacificsolarenergy.com for visual explanation

    I am a student eager to learn and share knowledge

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It's not, it's just the browser's default margin on the bottom of the ul making the hovermenu's cell taller, do this:

    Code:
    .hovermenu ul{
    font: bold 13px arial;
    padding-left: 0;
    margin-left: 0;
    height: 20px;
    margin-bottom:0;
    }
    Note: if you give the containing table a border="1" attribute and do a before and after of the above style change, you can see exactly what I am saying.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2006
    Location
    San Diego
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up THANKs Prof - It Worked !

    Thank You so much for your help !

    Is there a recommended online tutorial on CSS ? I am particularly interested in getting away from tables and converting over to <div> tags

    I would like to learn and become an asset to the DD Forums

  4. #4
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    w3schools has basic tutorials on most things. However, I would recomend you pick up a good book.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •