Create a dummy website (you can change it to anything) like this. In the Header section, you have to insert a link to the CSS file. Save it as first.html
[CODE] <HTML> <HEAD> <TITLE> CreativeCozza's Cool CSS </TITLE> [COLOR="Red"]<LINK REL="stylesheet" HREF="mystyle.css" type="text/css">[/COLOR] </HEAD> <BODY> <H1> Hello World!!! </H1> <P> How are you? You there? </P> </BODY> </HTML> [/CODE]
@felgallMar 25.2007 — #While using embedded and inline styles makes it easier to test the effect of those styles while developing the stylesheet, they are best moved externally once you finish the page.
@CreativeCozzaMar 25.2007 — #While using embedded and inline styles makes it easier to test the effect of those styles while developing the stylesheet, they are best moved externally once you finish the page.[/QUOTE]
I have never used the other versions of CSS they are too awquard to edit.
@WebJoelMar 25.2007 — #I have never used the other versions of CSS they are too awkward to edit.[/QUOTE] Yeah, -seems that way if you only have a one, two or maybe five-page document with a fairly small amount of styling (a dozen or so lines?).
But when you have a 20, 30 or 50-page web site and the client decides to change a branding logo, change a font used throughout, augment a border or padding used on every page, -then [I]external[/I] CSS is the lifesaver. -Make just that change or those requested changes to [I]one file[/I] (the external CSS), and if your HTML 'bare bone template' is the same for all pages (and it should be, -there should be a seperation of html from css), -then the changes to the style sheet 'cascade down' though [I]all[/I] the html-pages.
-It is really awesome, -makes you the code appear to have 'changed' all 20 or 50-whatever pages asap in just a minute or two of 're-coding'. ?
@disgracianMar 26.2007 — #External CSS is really the entire point of having CSS in the first place, otherwise you're left with the same unbearable situation we were trying to escape from in the days of the [b]<font>[/b] tag: manually carrying out changes on potentially hundreds of files instead of one.
@felgallMar 26.2007 — #Your page is cleaner for the search engines to figure out what it is about once you remove all the stylesheet info into a separate file.