CSS Cheat

I got this from Emily's page, so all credit goes to her!

Are you tired of changing EVERY single subpage on your website? Well, tire no more, because this tutorial helps you to change one little thing on your page!

  • Write out all the CSS codes you want for your layout, then save it as a .css file. (YOURFILE.css)
  • Name it whatever you want, as long as you can remember it.
  • Upload it to your server.
  • Now in all of your subpages, put in this code:

    <LINK REL=stylesheet HREF="http://www.geocities.com/lemonsliceclique/YOURFILE.css" TYPE="text/css">

  • Where it says YOURFILE.css, rename that to what you saved your css file as.
  • NOTE: You can only have CSS codes in your .css stylesheet, NOTHING ELSE! And you can only have one style sheet as well.

    <style> css codes here </style>

    The first css tag should be placed at the beginning, and the last css tag should be placed at the end. There should be NO TAGS in the middle. =). If you want to add a background code, put that as a separate code, not part of your css sheet.

    Back 1

    Hosted by www.Geocities.ws