External Style Sheet

Home » External Style Sheet

Revision for “External Style Sheet” created on January 28, 2015 @ 11:32:58

TitleContentExcerpt
External Style Sheet
This is a <a title="CSS" href="http://code.emrysproductions.com/wiki/css/">CSS</a> document that is written in a separate, external document.

The biggest advantage to using an external style sheet is that it can be linked to by multiple <a title="HTML" href="http://code.emrysproductions.com/wiki/html/">HTML</a>/<a title="XHTML" href="http://code.emrysproductions.com/wiki/xhtml/">XHTML</a> files (which means changes made to the style sheet will effect all the pages linked to it without having to change each page individually.)

To link an External Style Sheet to a page you need to define it’s location in the head of the page, for example:
<pre>&lt;head&gt;
&lt;link href="http://www.yoursite.com/resources/style.css" rel="stylesheet" type="text/css"&gt;
&lt;/head&gt;</pre>
This would point the browser to open the CSS document in the directory specified and apply that to the page.



Old New Date Created Author Actions
January 28, 2015 @ 11:32:58 Mr H
January 28, 2015 @ 11:30:53 Mr H
January 28, 2015 @ 11:29:46 Mr H
January 28, 2015 @ 11:29:00 Mr H
January 28, 2015 @ 11:28:43 [Autosave] Mr H
January 28, 2015 @ 11:26:22 Mr H
January 28, 2015 @ 11:24:09 Mr H
January 28, 2015 @ 11:22:51 Mr H
January 28, 2015 @ 11:13:00 Mr H
January 28, 2015 @ 10:36:09 Mr H