Dear Friends..
I am trying to implement an inline style inside the html tag <a href="#"></a>.
But am not able to find out the way..how to do that. Please help me.
| SitePoint Sponsor |
Dear Friends..
I am trying to implement an inline style inside the html tag <a href="#"></a>.
But am not able to find out the way..how to do that. Please help me.





Do you mean something like <a href="#" style="css here"></a> ?
Winners Respond. Losers React.
Singapore Web Designer

Familiarise yourself with The CSS FAQ Swaraj, there's lots of gold in there![]()


Hi,
Not sure if this is what you are after but you can't style pseudo classes with inline styling because they don't exist in the html.
You can style the anchor only (a).
e.g.
<a href="#" style="color:red" >red</a>
(of course you shouldn't use inline styling anyway)
But you can't style any states such as :link, :visited, :hover or :active. They can only be done from the stylesheet.
www.pmob.co.uk CSS FAQ 3 col demo Read My CSS Articles
Ultimate CSS Reference
Check out SitePoint's latest JavaScript challenge
Bookmarks