Jump to content

[SOLVED] Pseudo Element (a)


Akenatehm

Recommended Posts

Why doesn't this work?

 

I have tried shortening my code and now none of the below work.

 

a.nav:link:visited{
padding:10px 200px 50px 20px;
}
a.nav:link:visited:hover{
text-transform: uppercase;
text-decoration: none;
font-size: 20;
background: url(images/greynavmid.png) no-repeat;  
width:179px;
height:38px;
line-height: 1.9;
color:#78c72c;
list-style: none;
text-align: left;
border: 0;
}
a.nav:hover{
padding:10px 200px 200px 40px;
}

 

HTML:

<li class="navitem" id="Info"><a href="info.php"name="Info" class="nav">Info</a></li>

Link to comment
https://forums.phpfreaks.com/topic/154598-solved-pseudo-element-a/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.