|
|
|
5 Steps to Understanding HTML
HTML is a relatively simple language, but that doesn't stop people from having problems with it. Why is that? It's mainly because, while the HTML tags themselves are easy, creating an HTML document that works as intended on a web server requires...
Bluetooth - Description
Buletooth is a telecommunications technology that allows computers, mobile phones, PDAs, and other enabled devices to connect wirelessly over short distances, and exchange digital information. Bluetooth connections take place over a 2.4 GHz...
Dreamweaver vs FrontPage
There are two major WYSIWYG(What You See Is What You Get) editors available for beginners. These are: Microsoft FrontPage and Macromedia Dreamweaver. So the question is which one is better? This article is not intended to humiliate Dreamweaver...
Make your Web Site Earn You Money
Make your Web Site Earn You Money
The success or failure of a web site relies heavily on its
design. Designing a web site involves several procedures such as
creating mock-ups, defining interfaces, database design, system
platform and web...
On the Google Jagger Algo Update - Part 1
There has been a major update of Google's ranking algorithm,
changing the way the search engine orders search results. Atul
Gupta of discusses the consequences for webmasters.
By Pandia Guest Writer Atul Gupta
Google does minor algorithm...
The Power of CSS
CSS or cascading style sheets are used to create a set of styles
that can be applied to your fonts, tables and most other
attributes of your web page. These styles allow you to create a
much cleaner, faster web page that search engines love and...
The Wonders of Content Management Systems
As you get serious about your web site, your time will become invaluable. A content management system is the best way to maximize your efforts
What A Content Management System Does for You
A good CMS system will allow you to update can entire...
W3C Compliance & Macromedia Flash
A Creative Solution to Validate Pages Containing Macromedia
Flash and Work Around XHTML Specifications for Microsoft's
Internet Explorer.
Remember the "Good Housekeeping Seal?"
W3C is the World Wide Web Consortium seal of quality...
Web Designer's Guide to Search Engine Optimization
Search Engine Optimization or SEO is the buzz word you will see everywhere in the internet nowsadays. Designing a website today is no longer about aesthetics. It must not only look good, it must be visible to the search engines as well. What...
Why a CSS Website Layout Will Make You Money
Although CSS layouts have been around for years, they haven't become so commonplace until recently. This was basically due to limited browser support (especially from Netscape 4) - nowadays though, CSS 2.0 (which introduced positioning) is...
|
|
| |
|
|
|
|
|
|
How to use stylesheets
<div align="justify">
Web sites can contain hundreds of pages, even thousands. You have spent your time making a look and brand for your web site, using different font sizes, colours, margins etc all within each web page.</div><br />
<div align="justify">
Later on you decide that you want to change the background colour of the website, and then realise that you will have to edit every single web page and change the background color in the body tag.......
</div><br />
<div align="justify">
This is where stylesheets come into play, by simply putting all the web page formatting into a single file and then called upon by each web page, you are able to make changes to your web sites layout in just a few seconds!
</div><br />
<div align="left">
To do this, include the following piece of code inside your <head></head> tags.
</div><br />
<div align="left">
<link href="stylesheet.css" rel="stylesheet"
type="text/css" />
</div><br />
<div align="justify">
This tells the browser that to display the page with the proper formatting to use the file called stylesheet.css. So any changes you want to make to the page, you simply edit the stylesheet.css file, save and then voila! All your pages using that stylesheet have now changed.
</div><br />
<div align="left">
A typical stylesheet might look like this :
</div><br />
<div align="center">
<textarea rows="4" cols="50">.heading { font-size: 16pt } About the Author
http://www.onestop-webdesign.com One Stop Web Site Design specialises in creating the complete web site without the buyer having to understand all the jargon. Simply sign up to our low cost monthly plan, and give us an outline of what your website should be about and what products to sell. You can then sit back as we organise everything from hosting, web site development to setting up your shop ready for going live.
|
|
|
|
|
|