PDA

Click to See Complete Forum and Search --> : stylesheets


nmretd
Nov 21st, 2000, 08:27 AM
If I want to use 2 seperate style sheets is there a shorter way of writing this rather than doing the following.

<HTML>
<HEAD>
<TITLE></TITLE>
<link REL=STYLESHEET TYPE="text/css" HREF="styles/mystyle1.css">
<link REL=STYLESHEET TYPE="text/css" HREF="styles/mystyle2.css">
</HEAD>
</HTML>

Nov 21st, 2000, 09:03 AM
Not really. Two other ways to do styles, if they might work for you (and if you don't already know them), would be to put an inline style in your document (inside your HEAD element), like so:

<STYLE TYPE="text/css">
<!--
BODY { font-family: 'Arial'; font-size: 9pt; }
.Arial9 { font-family: 'Arial'; font-size: 9pt; }
-->
</STYLE>

or to use styles within tags themselves like so:

<P STYLE="{ font-family: 'Arial'; font-size: 9pt; }">Blah</P>

Doing either of these may eliminate the need for an extra stylesheet.

Paul