Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 06-20-2005, 12:05 PM   #11 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

so this
Code:
<link rel="stylesheet" type="text/CSS" href="../folder1/style1.css">
<link rel="stylesheet" type="text/CSS" href="../folder2/style2.css">
was an example of style sheet hierarchy?
rookie1010 is offline  
Old 06-20-2005, 02:24 PM   #12 (permalink)
 
Junior Techie

Join Date: Mar 2005

Posts: 55

Louis12

Default

To sum up what a Style Sheet would do, consider the following:

The Red, Shiney, Fresh, Ripe, Big, Clean, Juicy, Tangy, Bright Tomato was in the supermarket. Someone picked up the The Red, Shiney, Fresh, Ripe, Big, Clean, Juicy, Tangy, Bright Tomato. They got home and ate the The Red, Shiney, Fresh, Ripe, Big, Clean, Juicy, Tangy, Bright Tomato.

Now that seams a bit long winded doesn't it?

With CSS it would be more like this:

Tomato = Red, Shiney, Fresh, Ripe, Big, Clean, Juicy, Tangy, Bright

The Tomato was in the supermarket. Someone picked up the Tomato. They got home and ate the Tomato.



CSS generally makes smaller pages, thus making the output quicker. CSS can also be used instead of tables to position elements, however I recommend learning the basics first otherwise it like learning to dive before swimming.

If you need some help, feel free to PM me. I recommend the link:

http://www.w3schools.com/css



As for your previous question, you can just use CSS in the same document...

<style type="text/css">
Blah
</style>

Just place that in between the <head> tags.


Alternativly you may use the previous method, with the path or URL to the style sheet.
Louis12 is offline  
Old 06-20-2005, 04:25 PM   #13 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

thanks for all the info, guys
rookie1010 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On