Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / August 2008



Tip: Looking for answers? Try searching our database.

How do I specify this style?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
laredotornado - 28 Aug 2008 17:29 GMT
Hi,

I have cells that look like

<td class="menuLink"><a href="...">...</a></td>

In my style sheet, how can I specify a style for the anchor tags?  Or
do I have to create a new style altogether and write out

<td class="menuLink"><a class="menuLinkAnchor" href="...">...</a></td>

?  Thanks, - Dave
Harlan Messinger - 28 Aug 2008 17:41 GMT
> Hi,
>
[quoted text clipped - 6 lines]
>
> <td class="menuLink"><a class="menuLinkAnchor" href="...">...</a></td>

.menuLink a { ... }

or even

td.menuLink a { ... }

If you're going to write CSS, you ought to familiarize yourself with
http://www.w3.org/TR/CSS21/selector.html.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.