[thelist] Simple CSS question
MRC
webmaster at equilon-mrc.com
Thu Nov 29 15:41:13 CST 2001
Raymond,
> I figured it out. Since the text is a link, it's not getting formatted
> right. Any ideas how I would get the link text, just inside this
> element, the way I want it? (By the way, I know 38 is huge, I was only
> doing that for debug purposes.)
Assign an id to this particular <td>, e.g.:
<TD id="tdFoo"><A HREF="foo">foo</A></TD>
Then in your style sheet:
<style type="text/css">
<!--
#tdFoo, #tdFoo a {
font-size: 38pt ;
}
-->
</style>
The key is the "#tdFoo a" bit, since that tells the browser to style any
<a> element that is a descendent of the element with the id "#tdFoo".
James Aylard
More information about the thelist
mailing list