Specific style for link in specified row using CSS

Giganews Newsgroups
Subject: Specific style for link in specified row using CSS
Posted by:  Laiverd.COM (share_your_knowled…@someserver.com)
Date: Fri, 9 Jul 2004

Posted this in the MM Dreamweaver group also, but then found this newsgroup,
in which I hope someone knows the answer

What I'd like to do is define a specific style for a link that is in a
specific row. This works, but has a drawback:

tr.homeLatestNews a.newsLink {
font-weight: bold;
display: block;
}

but then a would have to assign a class "newsLink" to the link every time. I
also tried:

tr.homeLatestNews a {
font-weight: bold;
font-style: italic;
display:block;
}

Italic and block is displayed, but not bold. Using:

tr.homeLatestNews a:link {
font-weight: bold;
font-style: italic;
display:block;
}

Nothing is displayed at all. Funny thing is that I can preview it in
Dreamweaver (MX2004) but it fails to show completely in IE6 (On winxp) This
is the HTML:

<table width="707" border="1" cellspacing="4" cellpadding="0"
bgcolor="#D5DCE6">
        <tr bgcolor="D8DEE6" class="homeLatestNews">
          <td width="50%" bgcolor="#D3DBE7" align="LEFT"
valign="TOP"><p><span class="latestNewsHeader">Volop ...workshops... <a
href="#" target="_top">Lees verder</a></p></td>
        </tr>
      </table>

BTW: this is actually the my first attempt at taking CSS a lot further than
I did sofar. With the help of the great book by Eric Meyer I can get pretty
far. but this is confusing me ;-)

Thanks for your help.

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

Replies