Image in Table List (Works in Firefox but not in IE)

#1
[eluser]cinewbie81[/eluser]
Hi guys,

Table List php file
Code:
$htmlCode = '';
$htmlCode = '<td align=left.'> <span class="'.'warning'.'"></span></td>';
echo $htmlCode

Css file
Code:
span.warning
{
    padding-left:20px;
    background: transparent url(../images/warning.gif) no-repeat left;
}


The code above will display warning.gif icon in the table list for Firefox, but it display nothing in IE. Any idea ?

Thanks.


Messages In This Thread
Image in Table List (Works in Firefox but not in IE) - by El Forum - 01-07-2008, 07:43 PM
Image in Table List (Works in Firefox but not in IE) - by El Forum - 01-07-2008, 11:02 PM
Image in Table List (Works in Firefox but not in IE) - by El Forum - 01-07-2008, 11:05 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.