|
|
• Easy CSS Tricks |
|
| ||||||
| • Introduction |
|
CSS or Cascading Style Sheets can be used to build an entire web page.
We will be doing that in this course. We will allow
CSS to control every element on our sample web page.
Whether it be text or an image, CSS will be in total control of it.
Remember, what I have here is only the tip of the iceberg. CCS is a very powerful language that allows you to control exactly how things should look on your web page. You will need at least Internet Explorer 4.0 to do this lesson to have it work as intended. MSNTV & Netscape can use some CSS but not all. Let's get started building our CSS page. |
| • Getting Started |
|
We will be embeding our STYLE sheet codes. You can also put these codes on a separate web page and "Link" to that separate web page.
The first thing we need to do is setup a basic HTML Here is the HTML code for our basic HTML document.
<HTML> |
| • Adding The CSS STYLE Code |
|
The next step in creating our page will be to add the STYLE code to our document. This code is placed between the <HEAD> and </HEAD> tags. Here is the CSS STYLE code we will be using.
<STYLE TYPE="text/css"> Let's add it to our HTML document's code.
<HTML> |
| • Adding A Background Element |
|
We will start by adding a BODY element and a color to our CSS web page. You can also use an image as a background, we will cover that next in this section. Lets add the background element to our code.
<HTML>
Pretty exciting huh, a plain jet black page ?
Here is our code with an image as a background.
<HTML> *Note: Image Background Not Supported by MSNTV
**Note: There are many more attributes that |
| • Adding Link, Vlink & Alink Elements |
|
Now let's add the elements that will control the LINK, VLINK & ALINK text and colors. For now will will just place the elements and a color for these clickable text links on our CSS web page. Let's add these elements to our code.
<HTML>
We will see the effects of these elements when
Note: In order for me to conserve space on these |
|
|
Draac.Com Is Hosted By ValueWeb
Register UK domain names at Domain Names UK
|
|
| Advertise | Link To Us | Status/Updates | Privacy Statement |