1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Build Table Menu

Discussion in 'HTML & Website Design' started by obeegoone, Mar 26, 2009.

  1. #1
    Hi again,

    Im about to build a menu that will be on left side in vertical

    Only thing is that the meny will only be like 2 cm from left edge (screen) and i want it to be edge to edge with the menu

    Im not good at either php or html but atlest im trying :)

    I made is something like this

    <td valign="top" width="130px" style="padding: 0px 0 0 0px;">

    And i just cant manage so i goes edge to edge :/

    Any idea how i could do that ?

    Thanks
     
    obeegoone, Mar 26, 2009 IP
  2. nicolasthun

    nicolasthun Guest

    Messages:
    309
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    nicolasthun, Mar 26, 2009 IP
  3. obeegoone

    obeegoone Peon

    Messages:
    187
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I alredy have my menu, but like i said its like 1 to 2 cm out from the dge so i get an ennoying white space :/
     
    obeegoone, Mar 27, 2009 IP
  4. Oxi

    Oxi Peon

    Messages:
    78
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    check your margin property, and if there is none, try setting this to 0, it may well fix the problem.
     
    Oxi, Mar 27, 2009 IP
  5. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #5
    Honestly, do as obeegoone says and don't use tables for a menu - it'd be much easier to style with lists and css and works better for google etc too, not to mention blind people who'll be able to Tab through your menu.

    Also this: style="padding: 0px 0 0 0px;" is totally pointless, may as well just be: style="padding: 0;" as it does exactly the same thing.

    P.S. CSS padding does not get rid of Table cell padding or cell spacing.
     
    Astroman, Mar 27, 2009 IP