HighDots Forums  

Why this css doesnt work

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Why this css doesnt work in the Macromedia Dreamweaver forum.



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

Default Why this css doesnt work - 10-13-2009 , 01:22 PM






CAn anyone tell me why this wont work. The mouse over hyperlink
colours don't take effect.
TIA





}
h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF;
padding: 0px;
text-decoration: none;
margin: 0px;
font-weight: bold;
top: 0px;
bottom: 0px;
text-indent: 4px;
}
a:link h4 {
font-family: Arial, Helvetica, sans-serif;
color: #CC6633;
}

a:hover h4 {
font-family: Arial, Helvetica, sans-serif;
color: #CCCC66;
}

Reply With Quote
  #2  
Old   
Duncan Kennedy
 
Posts: n/a

Default Re: Why this css doesnt work - 10-13-2009 , 04:15 PM






In message <tnd9d59obnp5aam9sarc5rmc01de8iq9st (AT) 4ax (DOT) com>, Mike
<me (AT) privacy (DOT) net> writes
Quote:
CAn anyone tell me why this wont work. The mouse over hyperlink
colours don't take effect.
TIA

I'm not expert and there may be others around who have the solution -
although most have moved to the Adobe on-line forums - but have you
tried with just
a
in the second entry
and
a:hover
in the third

Does that do what you want?

Quote:
}
h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF;
padding: 0px;
text-decoration: none;
margin: 0px;
font-weight: bold;
top: 0px;
bottom: 0px;
text-indent: 4px;
}
a:link h4 {
font-family: Arial, Helvetica, sans-serif;
color: #CC6633;
}

a:hover h4 {
font-family: Arial, Helvetica, sans-serif;
color: #CCCC66;
}
--
Duncan K
Downtown Dalgety Bay

Reply With Quote
  #3  
Old   
Mangler
 
Posts: n/a

Default Re: Why this css doesnt work - 11-20-2009 , 11:57 AM



On Oct 13, 3:15*pm, Duncan Kennedy <nos... (AT) nospam (DOT) otterson-bg.couk>
wrote:
Quote:
In message <tnd9d59obnp5aam9sarc5rmc01de8iq... (AT) 4ax (DOT) com>, Mike
m... (AT) privacy (DOT) net> writes>CAn anyone tell me why this wont work. *The mouse over hyperlink
colours don't take effect.
TIA

I'm not expert and there may be others around who have the solution -
although most have moved to the Adobe on-line forums - but have you
tried with just
a
in the second entry
and
a:hover
in the third

Does that do what you want?





}
h4 {
* * * font-family: Verdana, Arial, Helvetica, sans-serif;
* * * font-size: 11px;
* * * color: #FFFFFF;
* * * padding: 0px;
* * * text-decoration: none;
* * * margin: 0px;
* * * font-weight: bold;
* * * top: 0px;
* * * bottom: 0px;
* * * text-indent: 4px;
}
a:link h4 {
* * * font-family: Arial, Helvetica, sans-serif;
* * * color: #CC6633;
}

a:hover h4 {
* * * font-family: Arial, Helvetica, sans-serif;
* * * color: #CCCC66;
}

--
Duncan K
Downtown Dalgety Bay- Hide quoted text -

- Show quoted text -
Try this:

<style>
h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF;
padding: 0px;
margin: 0px;
font-weight: bold;
top: 0px;
bottom: 0px;
text-indent: 4px;

}
h4 a{
font-family: Arial, Helvetica, sans-serif;
color: #CC6633;
text-decoration: none;

}
h4 a:hover{
font-family: Arial, Helvetica, sans-serif;
color: #CCCC66; }
</style>

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.