Posts tagged ‘CSS’

Google Wide Search Box for Firefox Stylish

Sometimes Google’s search box is not enough as a size. So I decided to add a simple CSS class to the textbox to display wider and clearer.To add some css style sheets to sites in Firefox, there is a powerful addon called stylish. So a simple stylish css code can provide that change. As a result […]

Scrollable Box (div) in CSS

As you may notice I updated my blog theme to scrollable boxes to make the navigation easier. You might still go to the individual page for viewing. You can do this with CSS’ overflow property.You also have to give the width and height, so the browser can understand where to put the scrolls. To […]

Transparent DIV SPAN for all browsers

To make an HTML element transparent. Just use these css elements in your css class.  filter, moz-opacity, opacity.
Internet Explorer uses filter and firefox uses moz-opacity.

.transparent
{
filter:alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}

<div class="transparent">A transparent div.
</div>

The opacity value changes from 0 to 1.