CSS
CSS stands for
Cascading Stylesheets, and is a language. CSS is stylizes websites. With CSS enables a person to can define the colours, fonts, scrollbars, textareas, etc.
Stylesheet
Start by opening a program that can create txt files(e.g. Microsoft Wordpad). "Copy and Paste" parts then modify them to your liking. When you finish your cascadingstylesheet save the file as
stylesheet.css. Check that the file is not a
.txt file.
Main Text
Three components make up your main text. They are text is colour, font-size, and font-family. A good font-size to choose is in between 10px-15px.
body {
color: #COLOURCODE;
font-size: NUMBERHEREpx;
font-family: FONTNAME;
}
Special Text
To edit
bold,
underlined, or
italicized text use the code below.
b{font-size:NUMBERHEREpx; font-family:FONTNAME; color:#COLOURCODE}
i{font-size:NUMBERHEREpx; font-family:FONTNAME; color:#COLOURCODE}
u{font-size:NUMBERHEREpx; font-family:FONTNAME; color:#COLOURCODE border-bottom:1px solid #COLOURCODEOFTHEUNDERLINE;}
Links
To edit the how links look use the code below.
a:link,a:visited,a:active
{
font-size:NUMBERHEREpx;
font-weight: normal;
color:#COLOURCODE;
}
a:hover
{
font-size:NUMBERHEREpx;
font-weight: normal;
color:#COLOURCODE;
}
Images
This code creates the border of the images of your site. It impacts the thickness, colour, and type of border (e.g. dashed or solid).
img {
border:NUMBERHEREpx solid #COLOURCODE;
}
Getting it to appear onto your site
Simply copy this code below to your website on every page your website has if your pages are htm/html/xhtml files.
<LINK REL=stylesheet HREF="stylesheet.css" TYPE="text/css">