Search
Recommended Sites
Related Links






Valid XHTML 1.0 Transitional

Valid CSS!
   

Informative Articles

Column Designs with CSS
So CSS makes layouts easier than they were with tables - there's not really much debate about that. One of the reasons many people stuck with tables for so long (and, in fact, still stick with tables to this day) is that it can be difficult to...

Content Update Management
The phrase "content is king" is no longer new, but its message is stronger than ever. The competition among online retailers is fierce. Businesses of any size are scrambling to grab a domain name and take advantage of the growing online shopping...

Dirty Web Promotion Tricks #1 - Legitimate and Malicious Javascripts
One of the best way to get visitors to further explore your site is to convince them to set your home page as their Internet start page, or for them to add you their "Favorites". In this article, we'll examine some ethical and unethical ways this...

Quick Web Page Checks
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> How often have you seen a webpage called "no title" a quick Google search yields over 1 million. The Title tag is probably the most important meta tag for page optimization and over...

Using External Coding to Improve Search Engine Placement
Do you have lots of JavaScript coding in the header section of your web pages? Do you re-list your CSS styles at the top of every page? Do you have JavaScript coding spread throughout your web pages? If you answered yes to any of these...

 
Fun CSS Tricks You Can Use

CSS or Cascading Style Sheets allow you to implement a few neat effects on your webpages easily. You can implement these CSS effects on your site by simply copying and pasting the code.

ROLLOVER COLOR TEXT LINKS

Have your text links change color when the mouse passes over them by inserting this code into the HEAD of your document:

 <style type="text/css">

<!--
A:hover {color:red}
-->
</style>



LINKS WITH NO UNDERLINE

Remove the underline from any or all of the links on your page by putting this in the HEAD of your document:

 <style type="text/css">

<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
-->
</style>



Or, remove the underline form individual links by forming them like this:

 <a href="page.html" style="text-decoration: none">link</a>




LINKS WITH A LINE ABOVE AND BELOW THEM

This is an interesting look that works especially well as a hover attribute for your links, but can also be applied to all of your links. It will show the normal underline and a line above the link:

 <style type="text/css">

<!--
A:hover {text-decoration:overline underline}
-->
</style>



HIGHLIGHTED TEXT

Highlight important text on your page or words you want to stand out, easily:

 <span style="background-color:yellow">highlighted text</span>




Try adding it to your link hover for a neat effect:

 <style type="text/css">

<!--
A:hover {background-color: orange}
-->
</style>



BACKGROUND IMAGE THAT ISNT TILED

This will create a background image that doesn't repeat:

 <style type="text/css">

<!--
BODY {background: #ffffff url(bg.gif) no-repeat}
-->
</style>



You can also center it, however it will be centered as the background of the entire document, not centered on the screenful:

 <style type="text/css">

<!--
BODY {background: #ffffff url(bg.gif) no-repeat center}
-->
</style>








About The Author


Dan Grossman runs http://www.websitegoodies.com where you can find over 250 hand-picked resources, articles, and tools! Dan also publishes the free weekly "WebDevPortal" newsletter for website owners! Subscribe today and get articles like this every week: subscribe@websitegoodies.com?subject=article-subscribe





Sign up for PayPal and start accepting credit card payments instantly.