"A friend is one of the nicest things you can have, and one of the best things you can be."Douglas Pagels
|
| |
Web Designer's Guide to Search Engine Optimization From a search engine point of view, the perfect webpage has no graphics, no scripting, no tables...etc but just alot of normal, plain readable text. You can just take it that plain text is the food for search engine spiders. Therefore, the more text ...
Web page buiding for beginners 1 Making a web page is a simple job that can be done in minutes by anyone with no previous experience, so I will refrain from going in that direction as much as possible. The first thing an inexperienced webmaster should learn is search engine ...
What Are Blogs? Having heard the term previously but not having paid much attention most are just to afraid to show their ignorance and ask the question, what is a blog? Lets face it; the term blog does not conjure pleasant images. Blogs are web logs that are updated ...
|
|
|
| |
No, I'm not referring to your wardrobe here, but to cascading style sheets, also known as CSS. Developed by the World Wide Web Consortium, it allows webmasters to separate site layout from the design. CSS is actually a standard for controlling the appearance of your Web pages. It's essentially a set of rules that, when linked to or embedded in HTML pages, control their appearance.
Right about now you're probably thinking "What's so great about that?" The benefits are numerous -- two of the biggest are:
1) Easy Site Updates: Global site updates will be simpler when you can make all your changes in one place to update the entire site. It's much better than going through page after page of HTML code. For example, say you have a site made in Times New Roman font and your customer calls you up and tells you he wants Verdana. Can you imagine scrolling through 25 pages or more looking for every incident of the tag and changing it to Verdana? What a nightmare. With CSS you would simply specify the font in one location and the change would be implemented site wide.
2) Faster Loading: Your HTML pages will load faster due to cleaner code. All of the extraneous coding will be in a style sheet, leaving less clutter and faster downloading of the site.
So now that you've seen a few of the "benes" to style sheets, let's learn more about them. Let's clarify up front that while both Netscape and Internet Explorer both support CSS from version 4.0 and higher, they don't exactly see eye to eye on CSS and interpret some style properties differently. You'll want to test your pages in both browsers to check and correct any inconsistencies.
So what can you control with CSS? Things like paragraphs , Headings , borders, table layouts,Fonts and font colors, text alignment, pixel size, line height, letter spacing, word spacing, font weights, page margins, and even background images; and the way they work is a big improvement over just plain old HTML. Are you beginning to see the possibilities and just how powerful this can be?
There are three ways to use CSS:
1) Inline: The CSS tags are applied to the web page itself, to any body element you choose. This is not the best method, as you'll have to find each incidence in the web site in order to make changes in the future.
Example of this:
pick up some Fantastic bargains. Go now!
|
|
|
|
|
|
|