Home arrow HTML arrow CSS: Where Little Things Mean a Lot
HTML

CSS: Where Little Things Mean a Lot


You’ve heard of people talking about having a site made using CSS, otherwise known as Cascading Style Sheets. So you decide to have a look at this CSS stuff only to discover that it makes no sense. How can somebody make a site out of this? Well, to put it bluntly, they don’t make a site with CSS; rather they make the site just as they would any other site, using good old HTML and link their page(s) to a CSS file. This file holds all the information on how the page will look; from what color the background is, to what font the body of the site will use.

Author Info:
By: Christopher Duell
Rating: 3 stars3 stars3 stars3 stars3 stars / 28
March 29, 2004
TABLE OF CONTENTS:
  1. · CSS: Where Little Things Mean a Lot
  2. · On to CSS
  3. · CSS and the DIV Tag

print this article
SEARCH DEVARTICLES

CSS: Where Little Things Mean a Lot
(Page 1 of 3 )

“So what?”, I hear you say. What if I told you that by using this one single file, you will essentially save yourself countless hours of coding time, and by changing this one file your entire site will change accordingly? Interested now?  I thought so!

When I created my first few sites I had not heard of CSS. Finally the time came when I made a fairly large site; it contained over 50 pages, and although I had made the site with frames, which sort of lessened the work load a little, when I decided that I wasn’t happy with the look of the site and that I wanted to give it a makeover, one thought ran through my head: "Ouch!"  I had over 50 files that needed changing, and they weren’t small changes, a lot of work was needed. So I decided to completely recreate the site. I changed from using static HTML, to using ASP and CSS. This was the best decision I have ever made as, since then, the site has had two makeovers, and each one involved the editing of only one file, the wonderful CSS file.

Let’s start out small with a simple page like this:


<html>
<head>
<title>My first page with CSS</title>
</head>
<body>
Examples 
'R' Us
</body>
</html>

Now, if you created a HTML file with this code and opened it in your browser of choice, well, it would be pretty boring.  Go on, and give it a try. You’ll see what I mean.


blog comments powered by Disqus
HTML ARTICLES

- Does HTML5 Need a Main Element?
- Revisiting the HTML5 vs. Native Debate
- HTML5: Not for Phone Apps?
- HTML5 or Native?
- Job Hunting? Freelancer.com Lists This Quart...
- HTML5 in the News
- Report: HTML5 Mobile Performance Lags
- The Top HTML5 Audio Players
- Top HTML5 Video Tutorials
- HTML5: Reasons to Learn and Use It
- More of the Top Tutorials for HTML5 Forms
- MobileAppWizard Releases HTML5 App Builder
- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials