Dear,
I'm creating a web site, using Cascading Style Sheets (CSS) for the first
time. I made a page with a table (td) on the left side, containing links to
the different pages of the site. The contents of the page are in the
right - large - table (another td). I wrote a CSS basically intended to
define the style for the contents (thus for the right part of the page).
I'd like defining another style for the links (both a, a:visited, a:active
and a:hover) in the left table than for the links in the actual contents of
the site. Is this possible and - if this question is responded
affirmatively - how should I do this?
Thank you in advance for any responses and/or referrals!
you can give your TDs a classname, like <td class="clsLeftFrame"></td>
and <td class="clsRightFrame">
Then your css for <A> could be
td.clsLeftframe A:hover ......
{
font-family:Arial;
}
td.clsRightFrame A:hover ...
{
text-decoration:none;
font-family:Courier
}
Just from memory, not checked. See wich classes are available for A, other
than hover....
Hope, this helps
and best regards,
Manfred Braun
(Private)
Mannheim
Germany
mailto:_manfred...@manfbraun.de
(Remove the anti-spam-underscore to mail me!)
"Sunshine" <mysunshi...@hotmail.com> wrote in message
news:1ZzVa.12734$FK3.136...@hestia.telenet-ops.be...
Oh Dear,
- don't use tables for layout, use divs
- rtfm, there's plenty of good css tutorials around
- you'll probably want to use css class selectors .leftable a { ... }
.contents a { ... } etc. So focus on that while you are browsing the
tutorials.
Jilles