HighDots Forums  

H1 H2 H3 etc

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss H1 H2 H3 etc in the Macromedia Dreamweaver forum.



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

Default H1 H2 H3 etc - 08-14-2008 , 06:55 AM






Hi there,

Is there a way to make H1 have multiple mouse over and click states
independant of each other.

something like


h1 {
font-family:'Tempus Sans ITC','Tahoma';
font-weight: bold;
font-size: 20px;
color: #000000;
margin: 0.3em 0;
}
h1 a {
(or a.h1) font-family:'Tempus Sans ITC','Tahoma';
font-weight: bold;
font-size: 20px;
color: #fe0000;
margin: 0.3em 0;
}

Thanks


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: H1 H2 H3 etc - 08-14-2008 , 07:05 AM






Quote:
h1 {
font-family:'Tempus Sans ITC','Tahoma';
font-weight: bold;
font-size: 20px;
color: #000000;
margin: 0.3em 0;
}
This is fine, except you need to have a fall-back generic font in the family
list, e.g.,

font-family:'Tempus Sans ITC', Tahoma, sans-serif;

and you do not need quotes around Tahoma - only multiple-word font names are
quoted.

Quote:
h1 a {
(or a.h1) font-family:'Tempus Sans ITC','Tahoma';
font-weight: bold;
font-size: 20px;
color: #fe0000;
margin: 0.3em 0;
}
a.h1 is an entirely different selecter than h1 a, and would only apply to
this -

<a class="h1"....

Notwithstanding those comments, I have no earthly idea what question you are
asking. Can you try again?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Prellyan Luxtintner" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi there,

Is there a way to make H1 have multiple mouse over and click states
independant of each other.

something like


h1 {
font-family:'Tempus Sans ITC','Tahoma';
font-weight: bold;
font-size: 20px;
color: #000000;
margin: 0.3em 0;
}
h1 a {
(or a.h1) font-family:'Tempus Sans ITC','Tahoma';
font-weight: bold;
font-size: 20px;
color: #fe0000;
margin: 0.3em 0;
}

Thanks



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

Default Re: H1 H2 H3 etc - 08-14-2008 , 07:19 AM



is this helpful wht u wanted?


h1 a:hover {
font-family:'Tempus Sans ITC', 'Tahoma';
background-color: #00FFFF;
width: 75px;
font-weight: bold;
font-size: 20px;
color: #003366;
margin: 0.3em 0;
}


Reply With Quote
  #4  
Old   
Prellyan Luxtintner
 
Posts: n/a

Default Re: H1 H2 H3 etc - 08-14-2008 , 09:16 AM



seomax
yup that has got it -- thanks
murray thanks for the tip on the fonts
Prellyan


Reply With Quote
  #5  
Old   
P@tty Ayers ~ACE
 
Posts: n/a

Default Re: H1 H2 H3 etc - 08-14-2008 , 06:11 PM




"seomax" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
is this helpful wht u wanted?


h1 a:hover {
font-family:'Tempus Sans ITC', 'Tahoma';
background-color: #00FFFF;
width: 75px;
font-weight: bold;
font-size: 20px;
color: #003366;
margin: 0.3em 0;
}
That will select any "a" element which is in a hover state that is a descendant of a "h1" element, and give it that styling - if that's what you want.


--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--


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 - 2008, Jelsoft Enterprises Ltd.