I'm new to this and to style sheets. is there a way to call a font in the <style> part that'll carry thru for the whole page? Like to avoid repeating the call with tables and the like...
<html>
<head>
<style type="text/css">
BODY{
background-color:yellow;
color:purple;
font-size:8pt;
font-family:"Verdana,Tahoma,Arial";
font-weight:Bold;
}
TABLE{
color:blue;
font-size:8pt;
font-family:"Verdana,Tahoma,Arial";
font-weight:Bold;
}
</style>
</head>
<body>
This is a test
<table><tr><td>This is only a test</td></tr></table>
OK?
</body>
</html>
You seem to have to define the body and table separately. You could also define a class .pagestyle (or something) that you can call as such <body class="pagestyle"> or <table class="pagestyle">. This will work on most any tag but must be specified. From the example you see that you can define styles to tags.
Hope this helps get you started, [sig]<p>Rob<br><a href=mailto:robschultz@yahoo.com>robschultz@yahoo.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
"Focus on the solution to the problem,<br>
not the obstacles in the way."<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/sig]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.