"How's Your Sense of Style?"

Written by Merle


Continued from page 1

Example of embedded:

3) Linked: In my opinion,repparttar best method to use. You place a link torepparttar 134494 CSS betweenrepparttar 134495 tags on your web pages. The link looks like this:

The style sheet is a separate text document that is saved with a .css extension like this: style.css.

So now that you know your three options for using CSS, how do you writerepparttar 134496 code? Every style sheet rule starts with a selector followed by braces. A selector is any part of HTML coding like P, Font, Body, etc.

Here's what it looks like in action:

P {font-size: 12pt}

The P above isrepparttar 134497 selector andrepparttar 134498 font specification betweenrepparttar 134499 braces isrepparttar 134500 property. This code says that all paragraphs will be 12 pt font in size.

A rule can always have multiple properties. Semicolons separate multiple properties, commas are used to separate multiple selectors.

Example:

P { color: black; background-color:white; font-size=12pt }

This code says you want all paragraphs black with a white background and a 12 pt font. (Why anyone would want that is beyond me; it's just an example so go with it.)

You can always group more than one selector tag like this if you want them all to lookrepparttar 134501 same.

TD,H2,H1 { color: Red; background-color:pink }

This would make all table cells, and heading 1 and 2 tags red with a pink background. Attractive don't you think? Again, this is an exaggeration to prove a point (even if it is gaudy).

Selectors are not case sensitive, so "P" isrepparttar 134502 same as "p."

H2 { color: blue } this would make all heading 2 tags blue in color.

As you can see from these examples, CSS is not that hard to pick up and can really give you more control over your website's appearance. For further information, check out some of these informative sites and you'll be a CSS pro in no time at all:

http://www.InternetBrothers.com/CSS_Basics.htm http://www.users.f2s.com/faq/cssbasic.php3 http://www.freewebmastertips.com utorials/css http://www.builder.cnet.com/webbuilding/pages/authoring/CSSCenter/

There are also software programs you can download that will makerepparttar 134503 creation of CSS so much easier:

TopStyle http://www.bradsoft.com opstyle/index.asp

Dutch's CSS http://www.dutchthewiz.com/styles/Default.asp



Merle http://www.EzineAdAuction.com "Where some of the BEST Deals in Ezine Advertising are Made" Buy & Sell Ezine Ads in a live auction setting! Publishers sell off your excess inventory and Buyers pick up some Fantastic bargains. Go now!


"Offer Changing Content - 6 quick tips"

Written by Michael Hall


Continued from page 1

You can offer changing content from your website by using my free rotator script. Use it to change banners, text, quotes, links or virtually any content on your website.

Random changes only, try it free and if you like it I can script it to do daily, monthly or hourly changes for only $10 via clickbank or give me a free copy of your product if you like instead. I use this script to rotate affiliate banners and ad copy on my WebPages, should work with html ebooks as well(not with all though). You can also give awayrepparttar free script zipped file and oh yeah feel free to add a small advertisement torepparttar 134493 zip file but please mention that you added it so they don't think I put your add in it. http://www.bsmbahamas.com/rotators.zip

Michael Hall, bsmbahamas@speedwayinternet.com "Authentic Bahamian Recipes" http://www.bsmbahamas.com/ecookbook/index.html Need your own backend? Offer ebooks ... http://www.bsmbahamas.com/free2sell/index.html


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use