Feeds:
Posts
Comments

Archive for August, 2008

Here is a crossbrowser JavaScript function for getting CSS property values from DOM elements. The function $style requires the specification of two arguments:
$style(ElementId, CssProperty);
ElementId – the ID of the element from which we will extract CSS property values;
CssProperty – the CSS property we will extract from the element, for example – “background-color”;
The function $style:
function $style(ElementId, [...]

Read Full Post »

Fortunately, Internet Explorer 7 supports border-color: transparent, but still, there are hardcore IE6 users and it seems that they will never update their browsers.
This post is targetted to the developers that care and dare to make their websites crossbrowser.
Thanks to a less known Interner Explorer CSS filter, the transparent border in Internet Explorer 6 can [...]

Read Full Post »

Experience the power of CSS with that cool widget!
Create rounded corners with any dimensions without additional images or sophisticated CSS and JavaScript coding. Rounded Corners Panel.JS does all this for you. You may choose between three types of rounded corner radius, you are allowed to specify dither (i.e. antialias) color, so your rounded corners’ edges [...]

Read Full Post »

Skinnable Browser Dialogs is an easy and reliable way of replacing the boring and impossible to style browser GUI alert, prompt and confirm. Along with its cool API, allowing any type of interaction with the webpage that is possible with the original dialog boxes, the script comes with a set of 10 predefined skins – [...]

Read Full Post »

Here is a less known and rather exotic CSS hack, visible for Internet Explorer based on a rendering bug. Unfortunately, it is visible both in versions 6 and 7, but still it can be useful as a last resort for styling.
And here it comes:
h1
{
 color: green;
.color: red;
}
Internet Explorer 6 and 7 will render <h1>…</h1> in red, while [...]

Read Full Post »