English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Help?

2007-02-23 10:51:40 · 5 answers · asked by Spiffeehh<3 2 in Computers & Internet Programming & Design

5 answers

I just type the stylesheet in Notepad, then do a Save As, set the file type to "All Files", then name it "style.css".

As for content, here's a simple stylesheet:

p { font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-style: normal;
color: #996600}

td { font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #996600}

h1 { font-family: Arial, Helvetica, sans-serif;
font-size: 24pt;
font-weight: bold;
color: #999999}

h2 { font-family: Arial, Helvetica, sans-serif;
font-size: 18pt;
color: #999999}

.small { font-size: 8pt}

.bigbold { font-size: 12pt;
font-weight: bold}

.smallbold { font-size: 8pt;
font-weight: 900}

The first four lines (p, td, h1, and h2) are the styles which will be applied to text enclosed in those tags in your html. The other three are classes (since the names start with a period), which are used to modify styles. For example, a

tag will give text in brownish 10 point Arial (or on a Mac, Helvetica). If the tag is

the type will be 8 point, but the face and color will be the same.

(You can define all sorts of things in stylesheets, but setting default fonts is probably the most useful.)

Then in the header of your web page, you put the line

and upload the stylesheet to the same directory as the web pages.

(Dreamweaver and Front Page have their internal ways of putting together stylesheets and linking them, but I've always found doing it manually to make more sense to me.)

2007-02-23 14:38:11 · answer #1 · answered by Peter_AZ 7 · 0 0

it rather is in basic terms a variable laden, dynamic question if i've got have been given ever heard one. i'm assuming which you haven't any longer have been given from now on been coming up that long, so enable me supply you a tip. deploy FireFox. Searchf or the 'FireBug' addon. as rapidly because it incredibly is put in, it is going to make it easier to realize each and every difficulty you pick to rejoice with. in the backside proper hand corner, you will see a paperclip like ingredient, click this. Now you will haev the hearth malicious application window, in the 'actual-left' of the firebug window, you will see a blue rectangle icon, click it. you could desire to now %. a community of the internet internet site, it is going to make it easier to realize what stylesheeet references that merchandise, and what's making the type adjustments to that merchandise from the .CSS document. in case you do now no longer pick to try this, there are some diverse approaches. #a million - Are your links at modern UNDERLINED? If now no longer, open your .css document and seek for for 'text fabric textile-ornament'. it fairly is a style it incredibly is particular to links, so in case you hit upon it on your document, it incredibly is optimal in all probability a similar piece of CSS it rather is improving your links. #2 - do the links have a style="call" or an identity="call"? if now no longer, look at the ingredient above it, mutually with a results of certainty the div tag, does that have an identity? If that does have an identity, then detect that ingredient, enable's say your shape sounds like ->

hyperlink #1639767f3e9eaad729b54037a7e2abf5 hyperlink #2639767f3e9eaad729b54037a7e2abf5 hyperlink #3639767f3e9eaad729b54037a7e2abf5 hyperlink #4639767f3e9eaad729b54037a7e2abf5 etc... div Now look in the type sheet for the identity of 'linkContainer'. in case you hit upon that, seek for #linkContainer a{ This stucture style would desire to be saying that everybody links being held in the identity of 'linkContainer ' would have those varieties utilized. good fulfillment.

2016-12-14 04:15:01 · answer #2 · answered by libbie 4 · 0 0

How I got into it was looking at existing websites. Take
a look at the source code of any website you like and look for something like



then take the "styles.css" and add it to the address in your browser, that will let you see the actual style sheet save the file and the source of the webpage.

This lets you change the style sheet locally and let you see the different effects your changes have.

There's a very hand program called Stylemaster which is good for developing stylesheets, I also recommend the CSS Zen Garden Website.

2007-02-23 11:34:46 · answer #3 · answered by circusmort 5 · 1 3

You just put all the styles you want in a plain text file. There are no headers or such. Then you can include it in an html page with either in the head of the file or @import url(mystyles.css); inside a style block.

2007-02-23 11:04:03 · answer #4 · answered by injanier 7 · 0 3

Go to this web link & see if this is what you need :
http://www.w3.org/Style/CSS/

2007-02-23 11:09:32 · answer #5 · answered by The Count 7 · 3 0

fedest.com, questions and answers