Forum Moderators: not2easy

Message Too Old, No Replies

"normal" css tag?

         

futureknight

5:25 pm on Jun 18, 2004 (gmt 0)

10+ Year Member



I've written a css for my team. I've got the p defined as 12 point arial.. My teammates, however, are not too pleased with possibly having to put all the text in <p></p> tags.

They wonder why they just can't type "normally" and have a style applied. Is there a css definition where I can control this "normal" text (ie text typed on the page without being a <p> or some other class or tag.

thanks for everyone's help.

Birdman

5:30 pm on Jun 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, just define the rules on the body element.

body{font: 12pt arial;}

Any element within the body that does not have font defined should inherit the above rule.

Reflection

5:44 pm on Jun 18, 2004 (gmt 0)

10+ Year Member



. My teammates, however, are not too pleased with possibly having to put all the text in <p></p> tags.

You should tell your teammates that all text should be marked up.

DrDoc

5:59 pm on Jun 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



On a side note: points are for print, not the Web. Use pixels instead :)