View Full Version : CSS to format appearance of normal text?

01-17-2008, 12:25 PM
Is it possible to have a CSS style element that formats the appearance of normal text (the text that is NOT part of any <div> or <p> tags?

If so how?

01-17-2008, 12:47 PM
What do you want the text to look like? You can add text to the html and body elements, like this:

html, body {
font: 11px Verdana, Tahoma, 'Times New Roman', serif;

That will apply to ALL text on your site that doesn't have any of styles?

01-17-2008, 12:50 PM
Why should you want text that is not part of some block-level element? If you had such text, then the styling could be at the mercy of the browser.

Presumably, if you styled your body element, then this would apply to any text within it.