THE ZEPINT NETWORK

programmer assist

CSS CSS XML Feeds

CSS Questions CSS Solutions CSS Articles

A standard for specifying the appearance of text and other elements. CSS was developed for use with HTML in Web pages but is also used in other situations, notably in applications built using XPFE. CSS is typically used to provide a single "library" of styles that are used over and over throughout a large number of related documents, as in a web site. A CSS file might specify that all numbered lists are to appear in italics.

Roll Overs with CSS - No Javascript Required

DiggBlinkRedditDeliciousTechnorati

article by Srirangan

Roll overs with pre loading images with javascript and changing attribute value on onmouseover events .. Yuck! Roll overs can be simple and fun, using just a bit of smart CSS code.

Example 1: Modifying Background Colors

<style>
a.special {
background-color:#ffffff;
}
a.special:hover {
background-color:#ffff00;
}
</style>

<a href="..." class="special">...</a>

Example 2: Modifying Text Properties

<style>
a.special {
font-family:verdana;
font-size:12pt;
color:#000000;
text-decoration:none;
}
a.special:hover {
font-family:verdana;
font-size:11pt;
color:#0000aa;
text-decoration:underline;
}
</style>

<a href="..." class="special">...</a>

Example 3: Modifying Transparency

<style>
a.special {
filter:alpha(opacity=25);-
moz-opacity:.25;
opacity:.25;
}
a.special:hover {
filter:alpha(opacity=75);-
moz-opacity:.75;
opacity:.75;
}
</style>

<a href="..." class="special">...</a>

Got a CSS Question?

Just Sign Up and ask the top CSS experts!

Search via Google

User Login

Email Address

Password

CSS Experts

Rank Expert Points
#1 Srirangan 500
This a list of the Top CSS experts, how many points do you have?

Leading Experts

Rank Expert Points
#1 frankzzsword 4600
#2 Bejaan 2900
#3 csfreak 1100
#4 Anurag 700
#5 keyvez 700
#6 nnarasimha 600
#7 Nakata 600
#8 martinig 600
#9 mastercomputers 400
#10 Huntress 150
#11 Adkron 150
#12 Yogesh 100
#13 lexxwern 100
#14 Mustan Khan 100
#15 poizn 100
This is a list of overall best performing experts, how many points do you have?