Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

1 Setting Up an External Sheet 1

Creating an external CSS sheet

 

1  2  3  4  5  6  7  8  9  10

Advantages of an external style sheet is that as your site grows, you can make simple style changes in your style sheet and change the elements of all your pages. at once. It allows for uniformity of each page so that the user will always know they are on the same site. It hides some codes that make your html work including positioning, backgrounds, font colors and styles, and more.

To work with external style sheets you will need an HTML document to work in and a Cascading Style sheet.

1. Open your HTML document and set it in a view in your editor that you can see the source. In the head of your document place the following tag:

<link rel="stylesheet" type="text/css" href="stylesheet.css">

Example:

<html>
<head>
<title>My HTML Document</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
</body>
</html>

2. Save your html and CSS and upload both to your web server. The reference for your CSS in your HTML is the relative or full URL link to it, so be sure they are placed in the correct locations. The above example indicated your CSS is in the same folder as the HTML doc.

Go to part 2.



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2025 All Rights Reserved
Privacy and Legal