impossible to remove border? (CSS problem)

Discussion in 'HTML' started by Mohawk Mawk, May 16, 2007.

  1. Mohawk Mawk

    Mohawk Mawk Guest

    hello,
    I am currently working on
    http://bjorntoday.com/
    in specific the part

    <div id="underban">
    <table>
    <tr>
    <td><a href="main.php?page=Home&lang=E">Photo Blog</a></td>
    <td><a href="main.php?page=Gallery&lang=E">Photo Archive</a></td>

    <td><a href="main.php?page=Hardware&lang=E">Gear</a></td>
    <td><a href="main.php?page=Bio&lang=E">About Me</a></td>
    <td><a href="main.php?page=GuestBook&lang=E">Guestbook</a><br /
    ><br /></td>

    </tr></table>
    </div>

    thats the navigation under the banner

    ass you see when moving the cursor over the cells the background
    changes via hover, but theres a 1 px border around them I cant get
    away.
    you can move the cursor between the buttons and no hover effect will
    happen.
    + i want the image to attach to the red border on the top

    heres my desperate attempt to get rid of that tiny border

    #underban{
    height:26px;
    background-color: #000000;
    margin:0px;padding:0px;

    }
    #underban table {
    margin:0px;
    padding:0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    }
    #underban td {height:26px; font-size:13px;text-align:center;width:
    145px;vertical-align:top;margin:0px; }
    #underban td:hover {background-image: url(images/butt.png);}

    and its still there...
    anybody have a solution?
    thanks
    mawk
    Mohawk Mawk, May 16, 2007
    #1
    1. Advertising

  2. Mohawk Mawk

    Ben C Guest

    On 2007-05-16, Mohawk Mawk <> wrote:
    > hello,
    > I am currently working on
    > http://bjorntoday.com/
    > in specific the part
    >
    ><div id="underban">
    ><table>
    > <tr>
    > <td><a href="main.php?page=Home&lang=E">Photo Blog</a></td>
    > <td><a href="main.php?page=Gallery&lang=E">Photo Archive</a></td>
    >
    > <td><a href="main.php?page=Hardware&lang=E">Gear</a></td>
    > <td><a href="main.php?page=Bio&lang=E">About Me</a></td>
    > <td><a href="main.php?page=GuestBook&lang=E">Guestbook</a><br /
    >><br /></td>

    ></tr></table>
    ></div>
    >
    > thats the navigation under the banner
    >
    > ass you see when moving the cursor over the cells the background
    > changes via hover, but theres a 1 px border around them I cant get
    > away.
    > you can move the cursor between the buttons and no hover effect will
    > happen.
    > + i want the image to attach to the red border on the top
    >
    > heres my desperate attempt to get rid of that tiny border

    [...]
    > and its still there...
    > anybody have a solution?


    Change <table> to <table cellspacing="0">
    Ben C, May 16, 2007
    #2
    1. Advertising

  3. Mohawk Mawk

    Mohawk Mawk Guest

    thank you, that worked like a charm
    Mohawk Mawk, May 17, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad
    Replies:
    0
    Views:
    2,240
    tshad
    Jan 31, 2005
  2. phl
    Replies:
    1
    Views:
    4,330
    Martin Jay
    Jun 8, 2006
  3. Coder
    Replies:
    1
    Views:
    682
    Cowboy \(Gregory A. Beamer\)
    Jun 24, 2006
  4. =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=

    border-color: #003366; border-width: 2px;

    =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Jul 17, 2006, in forum: HTML
    Replies:
    64
    Views:
    3,487
    Adrienne Boswell
    Jul 30, 2006
  5. Replies:
    5
    Views:
    249
    Michele Dondi
    Jun 30, 2006
Loading...

Share This Page