HighDots Forums  

CSS Shorthand for font styles

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS Shorthand for font styles in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Heather
 
Posts: n/a

Default Re: CSS Shorthand for font styles - 02-11-2005 , 12:20 PM






No problem.

--
Heather



"Pablo" <dunno (AT) dunno (DOT) com> wrote

Quote:
Okay

Thanks.

--
Cheers Pablo

_____________________

Whoever said "image doesn't matter" was lying.
http://www.dellwebsites.com
______________________________________



Reply With Quote
  #12  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS Shorthand for font styles - 02-11-2005 , 12:21 PM






Whether they have more experience than you or not, you're still likely to
get a correction around here! 8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Heather" <heather (AT) NOfeatherthewebJUNK (DOT) com> wrote

Quote:
I wasn't sure if it made a difference...so I tested it. Once I saw the
difference, I figured it obviously had some importance, but still wasn't
100% sure. There are many people who post on here with more experience
than I have and figured someone would correct my mistake if I was wrong.



--
Heather



"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote in message
news:cuip0s$ej9$1 (AT) forums (DOT) macromedia.com...
Heather:

I stand corrected. The order is important.

Optional
-----------
bold - italic - oblique - small-caps (in that order)

then -

Required
------------
size - size/height

then -

Required
------------
family


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================





Reply With Quote
  #13  
Old   
jojo
 
Posts: n/a

Default Re: CSS Shorthand for font styles - 02-11-2005 , 12:29 PM



Murray *TMM* wrote:
Quote:
Whether they have more experience than you or not, you're still likely to
get a correction around here! 8)

I don't think you're right there Murray



--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
http://www.webade.co.uk
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm
----------------------------------------------------


Reply With Quote
  #14  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS Shorthand for font styles - 02-11-2005 , 12:32 PM



Uhhh....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"jojo" <jojo (AT) zoot3 (DOT) com> wrote

Quote:
Murray *TMM* wrote:
Whether they have more experience than you or not, you're still likely to
get a correction around here! 8)


I don't think you're right there Murray



--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
http://www.webade.co.uk
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm
----------------------------------------------------



Reply With Quote
  #15  
Old   
Michael Fesser
 
Posts: n/a

Default Re: CSS Shorthand for font styles - 02-11-2005 , 01:05 PM



.oO(Heather)

Quote:
I wasn't sure if it made a difference...so I tested it. Once I saw the
difference, I figured it obviously had some importance, but still wasn't
100% sure. There are many people who post on here with more experience than
I have and figured someone would correct my mistake if I was wrong.
If in doubt have a look at the spec:

'font'
Value: [ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]?
<'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon
Quote:
menu | message-box | small-caption | status-bar | inherit
Looks a bit confusing, so let's break it down. The important part is
this:

[ <'font-style'> || <'font-variant'> || <'font-weight'> ]?
<'font-size'> [ / <'line-height'> ]?
<'font-family'>

The first line:

[ <'font-style'> || <'font-variant'> || <'font-weight'> ]?

allows one or more of the given properties in any order and the entire
block is optional (because of the trailing question mark). After that
you have to give a value for font-size, which may be followed by a slash
and the line-height (optional again):

<'font-size'> [ / <'line-height'> ]?

Finally there's the font-family.

So in some cases the order of properties does matter, in some others it
doesn't.

Micha


Reply With Quote
  #16  
Old   
Heather
 
Posts: n/a

Default Re: CSS Shorthand for font styles - 02-11-2005 , 01:12 PM



Quote:
So in some cases the order of properties does matter, in some others it
doesn't.
Thanks for the breakdown and the explanation, Micha.

--
Heather



"Michael Fesser" <netizen (AT) gmx (DOT) net> wrote

Quote:
.oO(Heather)

I wasn't sure if it made a difference...so I tested it. Once I saw the
difference, I figured it obviously had some importance, but still wasn't
100% sure. There are many people who post on here with more experience
than
I have and figured someone would correct my mistake if I was wrong.

If in doubt have a look at the spec:

'font'
Value: [ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]?
'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon
| menu | message-box | small-caption | status-bar | inherit

Looks a bit confusing, so let's break it down. The important part is
this:

[ <'font-style'> || <'font-variant'> || <'font-weight'> ]?
'font-size'> [ / <'line-height'> ]?
'font-family'

The first line:

[ <'font-style'> || <'font-variant'> || <'font-weight'> ]?

allows one or more of the given properties in any order and the entire
block is optional (because of the trailing question mark). After that
you have to give a value for font-size, which may be followed by a slash
and the line-height (optional again):

'font-size'> [ / <'line-height'> ]?

Finally there's the font-family.



Micha



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.