Click to See Complete Forum and Search --> : style sheet


Brkwtzandrew
04-23-2005, 08:49 AM
okay i know this is sad but...
I dont know how to make a site which uses css from a file
ex. somename.css will be the format for the page

Scleppel
04-23-2005, 09:00 AM
Do you know how to use CSS at all? If not, try this tutorial (http://www.w3schools.com/css/default.asp) for a start. I'm sure other people will offer useful links.

If you already know CSS, all you have to do is put the css in a file with a .css extension on it's own, for example

body{
background-color: blue;
}

and then link to that file with either

<style type="text/css" media="all">
@import "your_style_sheet.css";
</style>

or
<link rel="stylesheet" type="text/css" href="your_style_sheet.css">

in the head of your html page.

Brkwtzandrew
04-25-2005, 05:55 PM
Do you know how to use CSS at all? If not, try this tutorial (http://www.w3schools.com/css/default.asp) for a start. I'm sure other people will offer useful links.

I know some from random online tutorials...
Thx for the help!! :)