Archive

Archive for the ‘CSS’ Category

CSS Transparency Settings for All Browsers

November 16th, 2009 wiley No comments

The transparency set to 50% for all browsers.

.transparent_text {
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}
  • opacity: 0.5; This will work in most versions of Firefox, Safari, and Opera.
  • filter:alpha(opacity=50); This will work in IE.
  • -moz-opacity:0.5; This will work in Netscape Navigator.
  • -khtml-opacity: 0.5; This will work in Safari (1.x)

Unique visitors to post: 0

Categories: CSS, CSS Tags: ,

Change class onMouseover

June 23rd, 2009 wiley No comments

How to change CSS class onMouseOver event handler:
Create two clases for normal button and for hover button.

One for normal button example:

.button{
  -moz-border-radius: 3px 3px 3px 3px;
  border: 3px double #a9a9a9;
  cursor: pointer;
}

One for hover button:

.button:hover{
  background: #f5f5dc;
}

Second class change background color on button.


Unique visitors to post: 6

Categories: CSS, CSS Tags: , , ,
Google Analytics integration offered by Wordpress Google Analytics Plugin