About us Privacy Disclaimer Contact us
FAQ Help Advertising Feedback
Home Sitemap Search Donate us

  Home > Computer & I'net > External...

   Browse by title articles:
   What is hot:

CSS Introduction

Cascade

External

Embedded

Inline

Commenting

Quotes
Disabling the Right-click Mouse Button
Module mod_rewrite Tutorial (Part 2)
External HTML Loader
 1 23Next articles



External


Computer & I'net articlesExternal

by David Stanley    



Having CSS commands on a separate page is best suited for a multiple page site owner. These pages are called "linked" or external CSS. Multiple pages are able to utilize the same commands in a single area. For time, it saves from typing in all the commands on each individual page. For space, it takes less space since more than one page is using the same page reference. For editing, one change on the master CSS page will affect all pages connected to it, instantly.

CSS pages have a file extension of .css which is allowed on most, if not all, main homepage servers. Create and save the document in text-only format then give the document the .css extension.

An external page is usually used for a "general" style layout. Setting the backgound color or image, setting the text colors, etc..

To link to the external style sheet, a LINK must be placed in the HEAD area of the page code. That is anywhere after the <HEAD> tag and before the </HEAD> tag.

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

LINK There is a separate page of command tags linked to use on this page.
REL The linked page is a STYLESHEET.
TYPE The linked page is text format containing CSS commands.
HREF The filename (and location or sub-directories if necessary) of the linked page.


External CSS pages do not use any foundation tags. Just the actual CSS commands are listed.




-----------------
Article by David Stanley. Visit his site http://www.htmlite.com. Reprinted with permission.





Spouse Work




  Disclaimer | Privacy | Terms of useCopyright © 2004 Nice2know.com