"The violets in the mountains have broken the rocks."Tennessee Williams
|
| |
Bar Charts Brought to Life: Index of Interactive Information for HTML and PDF Bar Charts and the Information ChallengeWhether one is an unknown entrepreneur or Donald Trump, an elementary school teacher or a university president, a 6th grader researching other countries or a government leader visiting them, each person in any ...
Create a Professional Website Using Ready-Made Templates If you are a business owner and want to expand your clientele and market-share, and create a place where potential and current customers can go to learn more about your company and easily find contact information,what you need is a website. If you are a ...
How A Beginner Can Create A Great Site From Scratch It has now become apparent that the most valuable skill that a would-be webmaster should have is not necessarily the technical know how to set-up the site, but a winning idea. The proof is clearly visible in the hundreds of technically oriented ...
|
|
|
| |
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!
|
|
|
|
|
|
 |
Bin Laden documents at a glanceWashington Post“In conclusion, we can say that there is no single channel that we could rely on for our messages,” Gadahn wrote. https://www.documentcloud.org/documents/352976-obl04.html AL-QAIDA'S TARNISHED IMAGE: Bin Laden was under pressure to reform al-Qaida's ...and more » |
|