Web Design Stuff
HTML Tutorials    CSS Tutorials    Web Hosting   Resources
Create a Web Page 101
Making Web Pages Intro What is a Web Page? Why Make a Web Page? The History of HTML Learn HTML or XHTML?
Basic HTML
Basic HTML Tutorials Basic HTML Necessities How to Make a Web Page How to Edit a Web Page The Basics of HTML Tags Basic HTML Page Structure HTML Attributes
HTML Font Codes
HTML Font Codes Intro HTML Font Color Codes HTML Font Size Codes HTML Font Style Codes HTML Bold/Italic Codes Combining Font Codes
Formatting Text
Formatting Text Intro Making Paragraphs Miscellaneous Formatting Headings & Subheadings Creating Hyperlinks
Using Graphics
Using Graphics on the Web Add Graphics to Your Pages Graphics and Accessibility How to Align Graphics Page Color & Background Graphics as Hyperlinks Horizontal Rules
Creating Tables
HTML Tables Tutorials HTML Table Fundamentals Background & Border Color Table Frames & Rules Table Width and Alignment Cells 1 -Space & Alignment Cells 2 -Row Column Span Cells 3 -Width & Height
Making Lists
HTML Lists Tutorials Bulleted Lists Numbered Lists Definition Lists
HTML Frames
HTML Frames Tutorials Using Frames for Layout Advanced Frame Layouts Putting Hyperlinks in Frames Frame Border Width Color, Margin and Control Problems with Frames SmartFrames: A Solution SSI: An Alternative to Frames
Web Page Forms
Making Feedback Forms A Simple Feedback Form Installing NMS FormMail Debugging Your Setup My Web Host is Out to Lunch User Input Components Text Fields Checkboxes & Radio Buttons Dropdown Menus Push Buttons Layout and Presentation
Basic CSS
Basic CSS Tutorials What is CSS? Why You Should Use CSS How to Use CSS Inline Styles Embedded Style Sheets External Style Sheets Class Selectors ID Selectors Combining Selectors
CSS Properties
CSS Properties Intro Font Styles Width, Height & Spacing Borders Backgrounds Position Float & Alignment Hyperlinks
All About Web Hosting
Hosting Your Own Website What is a Web Host? Your Website's Home Page Building a Website Offline About Free Web Hosting Best Free Web Hosting Commercial Web Hosting How to Get a Domain Name Ecommerce Web Hosting Web Hosting Terminology
Free Web Design Tools
Best Free Website Tools Best Free Text Editors Best Free Graphics Editors Free Website Analysis Tools
Setting Up HTML Kit
HTML Kit Introduction How to install HTML Kit Screenshot Breakdown Basic Configuration Overall Appearance Shortcuts and Startup Editing Window Customizing Toolbars Using the Favorites Tab Making a New Actions Bar Odds and Ends
Free Templates
Free Website Templates Two Column Fixed Width Three Column Liquid Layout Miscellaneous Templates Dynamic Menu Effects Two Column Experimental Terms of Use About These Templates
Website Templates Help
Getting Started Template Zip File Download How to Edit Your Template What to Edit in the HTML How to Add Your Logo Making a Website
Web Design Tips
Web Design Basics Tables vs. Tableless Using Tables for Layout Example Table Layouts World's Crappiest Web Page
Twitter Backgrounds
Twitter Backgrounds Intro Cool Twitter Backgrounds Cool Twitter Backgrounds 2 Plain Twitter Backgrounds Dark Twitter Backgrounds Best Twitter Backgrounds Cute Twitter Backgrounds Music Twitter Backgrounds Music Twitter Backgrounds 2 Twitter Backgrounds 101 TERMS OF USE
All About Web Browsers
What is a Web Browser? Mozilla Firefox Internet Explorer Opera How to Set Up Firefox Top 5 Firefox Extensions
 
Contact
Post Some Feedback Send Me An Email Iron Spider Blog About Iron Spider... Site Conventions
 
 
 

 

Why You Should Use CSS

 
I'm sure a large majority of webmasters got introduced to CSS by doing a search in Google for "remove underlining on hyperlinks" (and here's how to do it). However CSS is much more than just a way of making cool looking web pages. If you're a serious web designer then here's some very practical reasons why you should use CSS:

  1. Easily edit the formatting of multiple web pages.

    This is the #1 most compelling reason why you should use CSS in your web pages (although some web standards gurus will probably disagree). If you want to keep a uniform look across many web pages and you want to be able to change that look instantly without having to go through each and every page one by one, an external style sheet is the ticket for you. An external style sheet (a.k.a., linked style sheet) is a file that contains only CSS code and will allow you to change the formatting to multiple web pages at once.

    To put this into perspective, let's say that you have a website with 100 pages (or more) and you decided to make the headings green on every page. With plain old HTML, you'd be using heading tags along with the font element to produce something like this:


    <h1><font color="green">Your Heading</font></h1>


    But hang on a sec. It's a couple of weeks later and suddenly you've decided that you want to make the headings on all your web pages maroon instead of green. With HTML, you'd have to laboriously plow through all 100 web pages, one by one, to change the value of the color attribute on your headings tags (or use some kind of potentially dangerous multiple file search-and-replace function).

    On the other hand, if all your web pages were using an external style sheet, you'd be able to change the heading color on all 100 pages in about 5 seconds by editing just a single .css file. Now does that sound like something you'd like to be able to do?
  2. Make your web pages load faster.

    If you're using the same external style sheet to build all the web pages at your site, when users come to visit, their web browsers will cache that style sheet (keep it in memory) so that it doesn't have to be reloaded every time they click through to another page. In essence, once the style sheet is cached, all the pages at your site will load faster in the user's browser. And we all know how important speed is on the internet, right?
  3. Make tableless designs.

    As of this writing, using HTML tables to layout web pages is a method that is still very much alive, but if you've dabbled in this then you've probably heard tell of a so-called 'tableless' design.

    And what is it?

    Well essentially, a tableless design is a web page that uses HTML and CSS to create a multi-column layout without using HTML tables (yes, this is possible). And it's a sure bet that everybody and their monkey's uncle that mentions 'tableless design' will also quickly follow it with some kind of pious reference to supporting 'web standards' (etcetera, ad nauseum)...

    Now I'm sure a lot of you are thinking:

    "Yeah alright! Web standards! I'm hip, I'm hip! Sure thing man... You betcha... Uh huh...

    ... ..whistle (1K)

    ..............

    ...But uhhhhhhhh... like...

    What will a tableless design do for me?"

    Well one very good reason to use a tableless design is if you have a large site menu in the left column of your web pages that search engine bots have to go through before they get to the actual content of each page (thus making it less likely that you'll get good rankings in search engine results).

    A tableless design will allow you to place the HTML source code of your web page's right column before the HTML source code of your web page's left column so that the content of your web pages is the first thing that search engine bots hit. Now are you interested?
  4. Support web standards.

    (*stepping up on soapbox*)

    And last but not least, yes, using CSS in your web pages will support the international efforts being made (ostensibly) to clean up the internet by promoting so-called 'semantic markup' or web pages created using just structural HTML elements and attributes. All the presentational HTML elements and attributes should be replaced with CSS.

    The idea here is that HTML elements and attributes should define only how a web page is structured (e.g., this is a paragraph, this is a list item, this is a table defining genuine tabular data instead of page layout). All HTML elements and attributes normally used for presentation (e.g., this is Times New Roman font, this is red, this is aligned to the left) should be relegated to CSS.

    Then, since different style sheets can be applied to the same web page depending on the circumstances, the web page becomes much more versatile and becomes more accessible to different mediums such as small screen devices, print devices, voice browsers and so on and so forth.

    (*stepping down off soapbox, putting it away and promising never to take it out again...*)

Alrighty then, enough about the what and the why. Let's get down to the how. We'll start with how to use CSS in your web pages using any of three different methods...





Best Free Stuff
for webmasters

Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates

See also:

Best Free Web Hosting
How to Make a Web Page

 

If you need a .COM web address, you can get one quick and easy at...

www.GoDaddy.com
<~ BACK TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell