3) Linked: In my opinion, best method to use. You place a link to CSS between 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 write 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 is selector and font specification between braces is 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 look 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" is 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:
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 away free script zipped file and oh yeah feel free to add a small advertisement to 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