Franscape Development Tutorials
You are currently viewing the IE border-spacing issue tutorial, in the 'HTML' category.
-----------------

Many developers have come across the frustrating fact that the following CSS attribute is only supported in Netscape 6.0+, Safari 1.2+, Opera 5.0+, and Firefox 1.0+, but not in IE:

Code:

.blah{
border-spacing:1px; /* Doesn't work in IE >:( */
}


The only reason we bother with IE is that it's still so heavily used by the client-base that also uses our web applications. Sigh.

The simple matter is, an IE equivalent exists:

Code:

.blah{
*border-collapse: expression('separate', cellSpacing = '1px');
}


Feel free to add both attributes to the same CSS selector, to command the effect simultaneously, for IE and everything else.

Score!

-----------------
· Discuss this and other tutorials on the FS Forums.
· Return to the HTML tutorial listing.
· Return to the Tutorial Overview.
· Return Home.
Back.
Sponsored Links - Register and/or Login to remove it