Results 1 to 2 of 2

Thread: Odd CSS issue

  1. #1
    Join Date
    Sep 2009
    Posts
    16

    Odd CSS issue

    i have this CSS rule which works fine:

    Code:
    #upperPanel a {
    	display: block;
    	width: 100%;
    	text-align: center;
    	height: 40px;
    	font-size: 16px;
    	font-weight: bold;
    	margin: 12px 0;
    }
    but if i make the rule using pseudo-classes the entire rule is ignored. Why?

    Code:
    #upperPanel a:link, #upperPanel a:hover, #upperPanel a:active, #upperPanel a:visted {
    	display: block;
    	width: 100%;
    	text-align: center;
    	height: 40px;
    	font-size: 16px;
    	font-weight: bold;
    	margin: 12px 0;
    }

  2. #2
    Join Date
    Aug 2009
    Posts
    193
    [comment deleted]
    Last edited by zachsformacs95; 06 Apr 2018 at 07:20 PM.

Similar Threads

  1. IE7 issue? Or server issue? Or javascript? Very odd!
    By db777 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 20 Apr 2009, 10:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •