Announcement

Collapse
No announcement yet.

Header / CSS problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    Noiz Pollution
    Senior Member

  • Noiz Pollution
    replied
    if they're the same you can group different classes together
    Code:
    a.nav {text-decoration: none; font-size: 11px; }
    a.nav:link, a.nav:visited {text-decoration: none; color: white;}
    a.nav:active, a.nav:hover {text-decoration: none; color: black;}

    Leave a comment:


  • Reimer
    replied
    Originally posted by Marco
    Try:
    Code:
    a.nav:link { ... }
    a.nav:visited { ... }
    a.nav:hover { ... }
    a.nav:active { ... }

    The final solution for my problin is this

    Code:
    a.nav {text-decoration: none; font-size: 11px; }
    a.nav:link {text-decoration: none; color: white;}
    a.nav:visited {text-decoration: none; color: white;}
    a.nav:active {text-decoration: none; color: black;}
    a.nav:hover {text-decoration: none; color: black;}
    I don't why, but it works! Thanks buddy!
    Last edited by Reimer; Sun 28 Sep '03, 3:51am.

    Leave a comment:

  • Marco
    Senior Member

  • Marco
    replied
    Try:
    Code:
    a.nav:link { ... }
    a.nav:visited { ... }
    a.nav:hover { ... }
    a.nav:active { ... }

    Leave a comment:


  • Reimer
    started a topic Header / CSS problem

    Header / CSS problem

    I just tried to change the style of my vB a bit and I got a strange problem.

    I set up a few links at the top of my forum using a CSS class:
    Code:
    <a class="nav">...</a>
    My CSS code is this:

    Code:
    .nav
    {
    	font-size: 11px;
    	color: white;
    }
    
    a.nav:link
    {
    	text-decoration: none;
    }
    
    a.nav:hover 
    {
    	color: black;
    }
    But any browser ignores this code and so I have to ask you why it is not working. To view my website, go to http://webhostingtalk.de

    Greetings
    Reimer

Related Topics

Collapse

Working...
X