#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    112
    Rep Power
    6

    CSS formatting help needed


    I have two questions regarding my CSS below. First, how do I get rid of the bullet points on my #button_nav, and second, every time I click a text link it gives it a dark blue background. I dont want any backgrond on my text links.

    PHP Code:
    body
        
    {
                
    background-color:#FFFFFF;
        
    }
    #header
        
    {
            
    text-align:center;
        }
    #text_links
        
    {
            
    text-align:center;
            
    font-family:"Times New Roman";
            
                    
        }

    #button_nav 
        
    {
        
    float:left;
        
    width10%;
        }

    #dynamic
    {
    padding:20px;
    font-size:12px;
    font-family:"Comic Sans MS";
    float:left;
    width80%;
    }
    #footer
    {
    font-family:"Times New Roman";
    text-align:center;
    clear:both;
    }
    #menu2
    {
    text-align:center;
    }

    //this was copied from the inc file
    //this styles the buttons
    //notice the #button_nav before each of the selectors
    #button_nav ul
    {
    list-
    style-type:none;
    margin:0;
    padding:0;
    }
    #button_nav a:link,a:visited
    {
    display:block;
    font-weight:bold;
    color:#FFFFFF;
    background-color:#424a70;
    text-align:center;
    padding:4px;
    text-decoration:none;
    font-size:10px;
    text-transform:uppercase;

    }

    #button_nav a:hover,a:active
    {
    background-color:#9696ff;
    }
    img.floatRight
    {
    float:right;
    margin4px
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Location
    United States
    Posts
    5
    Rep Power
    0

    Remove background-color:#424a70;


    There is a "background-color:#424a70;" for #button_nav a:link,a:visited - This is the reason why you are getting a dark blue background
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Location
    Jersey
    Posts
    16
    Rep Power
    0
    Please post you're html next time, or through both your HTML and css on jsfiddle, makes it a little easier for us to help you debug. But you can remove the bullets with this:
    Code:
    #button_nav{
    list-style:none;
    }

IMN logo majestic logo threadwatch logo seochat tools logo