View Single Post
11-21-2006, 06:51 PM
#9
Jonny is offline Jonny
Status: Member
Join date: Feb 2005
Location: UK
Expertise:
Software:
 
Posts: 335
iTrader: 0 / 0%
 

Jonny is on a distinguished road

  Old

Originally Posted by Sulcalibur
If it works when it usually doesn't what's the problem?
Table based design "work" too.

Anyway, here is the (non-valid) CSS method I use to do this sort of stuff:

HTML Code:
background: url('../images/transparent.png') !important; /* Good Browsers */
background-image: none;
filter: none !important; /* so IE7 doesn't do the filter */
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/transparent.png', sizingMethod='scale'); /* IE6 */
Remember that the filter path is relative to the HTML page rather than the CSS file.