![]() ![]() |
||
|
Using CSS in a linked pageA style sheet is basically a text page, it has no start or end tags. <LINK rel="stylesheet" href="delta.css" type="text/css"> Important part is linking to a CSS sheet where in example above "delta.css"
is the name I use on this site. I would use "../delta.css" the ../ is used to tell browser
that CSS sheet is out side that folder, A few common values color : #DCD4C2; .............Text Colour font-family : "Times New Roman"; .......Font Style, you will notice Times New Roman is enclosed in "" font-size : 14px; ............Font Size can be set to px or pt, higher the number, the larger the text font-weight : 600; ............Font Weight you can use normal, bolder, bold, lighter, or numeric values from 100 to 900, in multiples of 100 text-decoration : underline , overline; ................ This text-decoration is mostly used for links but can be used for all text, underline, overline, line-through, blink, none. This is what makes the scroll bar on right coloured, but remember it only works in internet explorer body { This makes the links on the pages look and act the way they do, a { a:link { a:visited { a:hover { This makes anything using input tag blue, with black border 1 pixel
wide, white text input { Buttons also use the input tag to make a class you add a period . to the name as shown below, I have
called it .inputr, but you could call it jack, sally, what ever you
like, just add a period to the name .jack or .sally then to call it
you use class="jack" or class="sally", you will
notice that when I used the class I removed the period. .inputr {
|
|