SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member a_youngers's Avatar
    Join Date
    Sep 2003
    Location
    Seattle
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS control of border around list within table???

    Does anyone know how to get rid of the border around a list within a table?

    The following is a link to a nav I'm working on that uses a list within a table. The dark grey border is what I'm trying to get rid of.

    Click Here For Script Example

    Adam

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Actually, you're not seeing the border. What you're seeing is the background color of the table cell showing through (the grey is defined as the table background color so it's showing through to the cell). Add this rule to get rid of padding around the table cell and stop the grey from showing:
    Code:
     #menutable {
        background-color: #333333;
    	padding: 0px 0px 0px 0px;
    	margin: 0px 0px 0px 0px;  
    } #menutable td {
       padding: 0;
     }


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
  •