Jump to content

[SOLVED] css styles for links


Anxious

Recommended Posts

Not too sure if this is the right category.

However, I can do css styles with all the other php texts, but when it comes to links, I cant get to set a colour.

 

Here is my css and then an example of the link.

 .style10 {
font-size: 16px;
color: #000000;
font-family: "Times New Roman", Times, serif;
text-decoration: underline;
font-style: normal;
line-height: normal;
font-weight: normal;
}  

 

 <td><span class="style10"><? echo "<a href=\"profile?user=$session->username\">Profile </a>" ?></span></td> 

 

Any idea what the problem would be, the links are suppose to be solid black, underlined.

Link to comment
https://forums.phpfreaks.com/topic/154210-solved-css-styles-for-links/
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.