HighDots Forums  

basic CSS stuff ?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss basic CSS stuff ? in the Cascading Style Sheets forum.



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

Default basic CSS stuff ? - 05-10-2005 , 01:01 PM






i would like to have all my HTML elements to have a
set font say "verdana 12 bold'. unless otherwise specified
in my css file.

*** this should include form elements etc, h1, h2 etc. ***

is this possible ?



Reply With Quote
  #2  
Old   
Barbara de Zoete
 
Posts: n/a

Default Re: basic CSS stuff ? - 05-10-2005 , 01:27 PM






On Tue, 10 May 2005 13:01:01 -0400, Mel <mel.m.heravi (AT) hp (DOT) com> wrote:

Quote:
i would like to have all my HTML elements to have a
set font say "verdana 12 bold'.
No, you don't :-)
<http://groups.google.com/groups?hl=nl&lr=&q=Verdana&btnG=Zoeken&meta=group% 3Dcomp.infosystems.www.authoring.stylesheets>
<http://groups.google.com/groups?hl=nl&lr=&q=pt&btnG=Zoeken&meta=group%3Dcom p.infosystems.www.authoring.stylesheets>
assuming point is what you're after. You didn't specify any length for the
font-size.

Quote:
unless otherwise specified
in my css file.

*** this should include form elements etc, h1, h2 etc. ***

You said 'all my html elements'. Why do you think these would be excluded?

If you insist and just for the fun of the example:

* {
font-family:Verdana; /*but please don't*/
font-size:12pt; /*but please don't*/
font-weight:bold; }

Could work. Not tested though.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
Quote:
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'


Reply With Quote
  #3  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: basic CSS stuff ? - 05-10-2005 , 01:29 PM



Mel wrote:
Quote:
i would like to have all my HTML elements to have a set font say
"verdana 12 bold'. unless otherwise specified in my css file.
Please don't use Verdana, or 12px, or bold for regular content text.
The reasons are discussed in these groups almost daily as to why those
are all a Bad Idea.

Quote:
*** this should include form elements etc, h1, h2 etc. ***
body, td, th {
font: 100% sans-serif;
}

will cascade to just about everything.

h1 { font-size: 150%; } etc..
..legalese { font-size: 85%; }

--
-bts
-This space intentionally left blank.


Reply With Quote
  #4  
Old   
Stan Brown
 
Posts: n/a

Default Re: basic CSS stuff ? - 05-10-2005 , 02:12 PM



On Tue, 10 May 2005 13:01:01 -0400, "Mel" <mel.m.heravi (AT) hp (DOT) com>
wrote:

Quote:
i would like to have all my HTML elements to have a
set font say "verdana 12 bold'. unless otherwise specified
in my css file.

*** this should include form elements etc, h1, h2 etc. ***

is this possible ?
Yes, but it's a bad idea.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
"I feel a wave of morning sickness coming on, and I want to
be standing on your mother's grave when it hits."


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.