How do I make text on a page conform to a css style even if it does not have the style tags around it, so what I mean is, how do you set a default text style for a page?
CSS TEXT STYLE
Moderator: General Moderators
CSS TEXT STYLE
This is probably a really stupid question and it is probably going to make you laugh at my stupidity, but:
How do I make text on a page conform to a css style even if it does not have the style tags around it, so what I mean is, how do you set a default text style for a page?

How do I make text on a page conform to a css style even if it does not have the style tags around it, so what I mean is, how do you set a default text style for a page?
If i understand well.... in your css
Code: Select all
body {
// set text style thingies here...
}- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Basic CSS like timvw mentioned
Check out http://www.w3schools.com/css/ for tutorials and reference 
Code: Select all
/*
Classes
Behaviour: Appies to anything with class="e;classname"e; as an attribute
*/
.classname { attributes:values; }
/*
By ID tags
Behaviour: Applies to anything with id="e;IDTagname"e; as an attribute,
-- classes dominate anything that clashes.
*/
#IDTagname { attributes:values; }
/*
By XHTML Element
Behaviour: Applies to anything that is inside this <elementname></elementname>
-- IDTags dominate anything that clashes.
*/
elementname { attributes: values; }
/*
NOTE: You can combine these together however suits too.....
*/