Forum Moderators: not2easy
What are you looking for specifically? Is there something you're trying to learn or understand?
go to any web site that uses CSS (most, but not all highly trafficked sites use css in some form) and 'view source' you'll see a link at the top to their css page that points to a style tag. For example:
<style type="text/css" title="currentStyle" media="screen">
@import "/001/001.css";
</style>
does that help?
[edited by: crashomon at 7:25 pm (utc) on May 12, 2005]
you would append /001/001.css to the end of a URL.
this example would be something like
www.somewhere dot com/somename.css and that will be your source of info.
good luck.
Patrick
I suggest you visit sites that offer CSS tutorials to learn more.
Happy reading ;)
I assume there is a template where you just fill in the blanks or add your own blanks etc... much like HTML where you add your own <title> and <body> tags..
With HTML, the page is structured using tags which are nested and ordered according to the rules.
CSS is a little different. A CSS file is just a text file saved with a .css extension. In it are rule declarations that must follow a certain syntax in order to be properly read.
That syntax is: the selector name, followed by an open curly brace, followed by property:value pairs (property name, a colon, and the value), each of which ends with a semi-colon, and finally ending with a closing curly brace.
Here's an example that sets the font-size of all the paragraphs on the page to 20 pixels, and another that sets the background color for all level 1 headers to red (hexdec = #f00)...
p {
font-size: 20px;
}h1{
background-color: #f00;
}
That's the basic syntax. From there, the key to writing a CSS file is knowing what the options for selectors (what the rules apply to), properties (the whole point of CSS, makinf things look the way you want), and values (the possible choices within each property) are.
For that, I suggest finding some beginner CSS tutorials. There are TONS of them on the web. W3Schools has some good ones. Otherwise, just run a search on Google for "css tutorial" and pan through the results. A tutorial or two ought to be enough to get you feeling comfortable with the syntax and structure. From there, start looking into what properties are needed to do what you want to do.
If you run across anything you don't knwo or understand, come right here to this forum and post a question. We'd be happy to help.
Welcome to WebmasterWorld and the wonderful world of CSS!
cEM