This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > February 2004 > CSS Question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| evilgazebo 2004-02-13, 7:29 am |
| Hi there
I'm having a bit of trouble with the a:hover class in a stylesheet I've set up
for a site
I've got the hover to change the background of a link to a specific colour but
when I have other links that are say, using different size type, the hover
class changes the size on mouseover.
Is there any way of assigninging different variations of the class for
diferent styles of links throughout a site
Any advice would be greatly appreciated
Thanks
Barri
| |
| Dan Vendel *GOF* 2004-02-13, 7:29 am |
| evilgazebo wrote:
> Hi there
>
> I'm having a bit of trouble with the a:hover class in a stylesheet I've set up
> for a site
> I've got the hover to change the background of a link to a specific colour but
> when I have other links that are say, using different size type, the hover
> class changes the size on mouseover.
>
> Is there any way of assigninging different variations of the class for
> diferent styles of links throughout a site
You can have as many different link styles as you wish. Thousands, even
in same page. All you need to do is to give them different names and to
attach them where you want them.
http://projectseven.com/tutorials/p...asses/index.htm
I guess it's a mistake, but please try to avoid hi-jacking other
peoples' threads. Makes everything much more difficult for all.
Cheers,
--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html
| |
| Ross Riley 2004-02-13, 7:29 am |
| You can define different link styles
So have eg: link1, link2 et
then when you specify a link do as follows <a href="whatever.html"
class="link1"> or <a href="whatever.html" class="link2"
You can specify different a:hover values for each class
Hope this helps
There are lots of precise examples of this on google groups
Ros
| |
| evilgazebo 2004-02-13, 1:30 pm |
| Thats great Ross,
Thanks
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|