Articles Tutorials Work at Home Entrepreneurs, Webmasters, Small Business Owners
Articles Tutorials Work at Home Entrepreneurs, Webmasters, Small Business Owners
Articles & Tutorials for Work at Home Entrepreneurs
Webmasters and Small Business Owners
Get More >

Newest Articles 
Search Engine Marketing
Internet Marketing
Affiliate Marketing
Email Marketing
Viral Marketing
Webmaster Resources
Business Resources
Make More Money
CSS
Web Design
Graphic Design
Color Theory
Product Reviews
Time Management
Business Ethics
Promotional Strategies
Glossary of Terms
Direct Mail Marketing
Telemarketing
Product Sourcing



Link to Us!

CSS
Email this article  :  Printer friendly page

Cosmetic Customizations to the "Current Date" Feature

Click Here to View Live ExampleTo find out what the current feature is all about, and why you might want to use it on your site, read our Web Design Article, "What is the Current Date?".

Another article you should read is "External, Internal or Inline? Which Method is Best?" to familiarize yourself with why "external" style sheets is the most effective method to use on your site.

Ready to learn how to customize your current date feature utilizing CSS (cascading style sheets)? You will find it easy to do, easy to change and pleasing to the eye.

Place the following code in your external style sheet:
.date { font-family: Geneva, Arial, Helvetica, san-serif; font-size: 12px; font-style: italic; color: #999999; text-align: center}

What does this mean and how can you change it to fit your own needs? First of all, we created a style "class" and name it "date". We specified the following cosmetic characteristics:

font-family: Geneva, Arial, Helvetica, San-serif (change these fonts to whatever you wish and separate each with a comma)

font-size: 12 px (change the size to whatever you wish but be sure to keep it in pixels)

font-style: italic (change the style to whatever you wish: normal, italic, oblique)

color: #999999 (change the color to whatever you wish using a hex color code)

text-align: center (change the alignment to whatever you wish: left, right, center, justify)

We then assigned this date class to the HTML table cell in our web page that displays the date. You can assign it to any HTML tag that makes sense for this feature such as the p (paragraph) tag or span tag too.
<td class="date">

A working example of what this cosmetic CSS customization looks like is shown on the live example page.

Copyright © 1994-2006 by BasicTips.com, a division of BasicTemplates.com, CSS HTML Web Site Templates with Exernal CSS and Removable Graphics. If you found our articles helpful, subscribe to our newsletter and get articles like this delivered to your inbox - FREE.

Order soon and get up to 5 FREE domains & more!
Host 6 Domains on 1 Account
5000MB and 400GB for $6.95 a month!

 

Page copy protected against web site content infringement by Copyscape
All articles are originally authored by BasicTemplates.com. Reprints in whole or in part are not permitted. See Copyright Notice

Copyright © 1994-2006 BasicTips.com, a division of BasicTemplates.com, Web Site Templates with External CSS
The Internet's #1 Choice for HTML CSS Web Templates via a Membership. Designed using External CSS and Removable, Swap-Out Graphics.
Basic Web Templates | Website Templates | HTML CSS Templates | Web Design Templates | Web Site Templates