need help with my site

Discussion in 'Web Design & Coding' started by lynchknot, Sep 8, 2003.

  1. lynchknot

    lynchknot Moderator

    Messages:
    800
    Hello. I need help with my site. Will someone tell me/show me how to specify text size for the links bar only, while ignoring browser text settings? If I specify a large minimum (over 10px) with Firebird, my links bar becomes screwed up. Thank you.
     
  2. lynchknot

    lynchknot Moderator

    Messages:
    800
    Well this sucks. Someone just told me that it is not possible. Browser text settings will always take precedence over author settings.
     
  3. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    Do you mean something like
    <span style="font-size:12px;"> nav bar here </span> ??
     
  4. lynchknot

    lynchknot Moderator

    Messages:
    800
    That did not work but this does. My nav bar now conforms to whatever size the browser specifies.



    Code:
    #nav {
       font: bold 10px Arial,sans-serif;
       background: #fff url('bar.png');
       padding: 2px;
       border: 1px solid #5b5b5b;
       text-align: center;
       margin: 0;
    }
    
    #nav li {
       display: inline;
       padding: 0;
       margin: 0;
    }
    
    #nav a:link,
    #nav a:hover,
    #nav a:visited{
       color: #333;
       padding: 2px 4px;
       border-left: 1px solid #ccc;
       border-right: 1px solid #ccc;
    }
    
    #nav a:hover{
       border-left-color: #558fb5;
       border-right-color: #6f9eca;
       background-image: url('bar2.png');
    }