HighDots Forums  

How do I specify this style?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss How do I specify this style? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
laredotornado
 
Posts: n/a

Default How do I specify this style? - 08-28-2008 , 12:29 PM






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

Reply With Quote
  #2  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: How do I specify this style? - 08-28-2008 , 12:41 PM






laredotornado wrote:
Quote:
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

..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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.