Photoshop Tutorials, Flash Tutorials, 3Ds Studio Max Tutorials, Web Design Tutorials


Software Tutorials

Featured Free Templates
View All Templates!
Preview  |  Download
Name: metamorph_flame
Downloads:
Preview  |  Download
Name: metamorph_skyandclouds
Downloads:
View All Templates!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
:: Free Website Templates
Preview  |  Download Preview  |  Download Preview  |  Download
Name: metamorph_sunset Name: metamorph_flower Name: metamorph_waterfall
Downloads: Downloads: Downloads:

Do You Like Our Website? Share With Others!
GoogleGoogle slashdotYahooMyWebDiggTechnoratiDelicious
Page: 12345678910111213141516171819202122232425
DESIGNING WITH STYLE
by Richard Igoe

One important aspect of good design is to give your site a theme and coherence. A great deal of this can be done using a stylesheet.

Using stylesheets is not difficult. In fact it makes the task of designing a website that much easier. However many new designers don't use them.

But before dispelling some of the confusion, let us look at the advantages of using CSS - cascading style sheets.

ADVANTAGES

1) You can use an external stylesheet to control the look and appearance of your whole website, such as the font size, style, and color, the background image, the background color, etc... by changing a single file. You don't need to edit every page.

2) Linking to a stylesheet reduces the size of your web pages and gives you much cleaner HTML code because you don't need to specify the font, color, or "style" of every element on your page.

3) Web pages are displayed differently on different browsers and platforms. For example a 10pt font looks fine on a PC but becomes too small on a Mac. You can use a browser-detection script in the header of your pages which will link to a different stylesheet depending on which browser is being used.

The rest of this article assumes you have a basic understanding of HTML tags, the code behind your web pages. If not you can get our simple HTML tutorial at - http://www.thewebseye.com/HTML.htm.

Now using stylesheets is actually easier than HTML. The main cause of confusion is that you can either link your web pages to an external stylesheet, or you can include the style sheet in the header of individual web pages inside STYLE tags. Web design software does not always make this clear unless you read the HELP pages in detail. Forget your web design software for a moment, because it is easier to understand stylesheets if you take a look under the surface.

An external style sheet can be as simple and powerful as this:

BODY { background-image: url(images/mybackground.gif); background-color: #FFFFFF; }

P { FONT-FAMILY: Verdana, Helvetica, sans-serif; FONT-SIZE: 12pt; COLOR: navy }

You copy and paste the above in Notepad, Wordpad or other text or HTML editor, and save it as "mystyle.css". Put this stylesheet in the same directory as your HTML files. Note the ".css" extension is important. Then you link your web pages to this stylesheet by putting the following code in the HEAD area of your pages.

< link rel="STYLESHEET" type="text/css" href="mystyle.css" >

It is now easy to change the background image or color of your site by simply changing the variables in the stylesheet. You can also change how the text in your in your website looks Anything in "P" tags on your web pages takes on the "P" attributes specified in the stylesheet. The above will make your pages display Verdana text (and you give the option of Helvetica and sans-serif in case your visitor's computer does not support the first choice) which is 12 pt and navy.

The next source of confusion is the use of the CLASS attribute. But this is also real easy and very powerful. It is best explained by adding another style to our stylesheet explained above.

P.redtext { FONT-FAMILY: Verdana, Helvetica, sans-serif; FONT-SIZE: 12pt; COLOR: red }

Now what this allows you to do is make certain blocks of text red. In your web pages, instead of a simple "P" tag around your text, you would add class="redtext" to the "P" tag and the text inside the tags would be red.

You can have any number of classes and assign classes not only to P tags, but also to your table data TD, your links "A" and any tag contained in the "BODY" of your web pages. And by simply changing the stylesheet you can change the look of your whole site. Are you beginning to see the power of using style?

It is however important to realize Netscape and Internet Explorer deal with stylesheets differently and Netscape does not support them as fully as IE. Netscape basically takes the inheritance a step too far. The only way to find out what goes and what doesn't is by trial and error, however there are a couple of resources which will help you a long way with understanding more about stylesheets. We have listed links to these resources at http://www.thewebseye.com/stylesheets.htm.

With simple stylesheets you should have no problem and they will really help to make sure your site keeps a certain amount of uniformity and cohesion.

About the author:
Richard Igoe - http://www.TheWebsEYE.com. Get his latest Free Website Success Course by sending a blank email to mailto:wsc@quicktell.net and find out whether you have the 6 essentials of a successful site!


Advertisements
Graphic Software, Flash Templates, Free Stock Photos, Web Templates, Web Design, Corporate Web Design, Royalty Free stock Photo, Affordable Website Design, Submit site, Add Url, Stock Photos, Survey Software, Anti Virus Software, E mail software, Computer Software

Premium Partners
  Free Website Templates - Flash templates, Affordable Website Design, Website Templates, Website Redesign, Custom Website Design, Web Design Tutorials, Flash Tutorials, Promotion Tutorials - that is what we do. Metamorphosis Design Studio offers quality, free and low cost web site templates for your business and personal life, we also offer affordable web design and site re-design.
  Vertex Website Tempales - It saves tones of time and money to use pre-made web designs to build your web site. You need a web site but you don't want to pay thousands dollars to professional web design companies? Our web templates is just for you! They are designed to be easilly edited by your favorite html editor, like MS FrontPage
  Photoshop Tutorials - Learn how to build stunning web pages using Adobe Photoshop, Macromedia Flash MX and 3D Studio Max software. The step-by-step approach makes it so easy, that even beginners can produce great web pages. Get started with these tutorials covering everything from page layout to content tips.
Free website templates and paid web templates are great tools to make your websites look perfect! You will save time and money with our flash templates and free website templates Our visitors are satisfied with the quality of our free and paid website templates! Please visit our free website templates and paid website templates sections. We offer free web templates, free web layouts, free web page templates and other stuff for free download. All templates come with the html and external css file so you may easily edit HTML with your favorite HTML editor. Feel free to download our free web templates for your personal websites.

Terms of use depend upon the website template vendor.
Home  |  Submit Tutorial  |  Top Sites  |  Free Templates  |  Website Templates  |  Privacy Policy  |  Contact Us
All Right Reserved by WebDesignTutorials.net