Results 1 to 2 of 2

Thread: stylesheets

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 1999
    Location
    London, England
    Posts
    213
    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>

  2. #2
    Guest
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width