lookielookies Posted March 26, 2008 Share Posted March 26, 2008 I was experimenting with adding background images to a HTML table, in order to create a graphical frame for my widget. But... there must be something wrong with my code, 'cos the background image in the left table column won't display in IE. In Firefox, everything looks OK. Could someone please take a look and tell me what I'm doing wrong? ??? This is what it looks like (open the link both in Firefox and IE to see the difference): http://www.thenichegiveaway.com/widget/frame-new.html Here's the code: <table width="150" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="3"><div align="left"><img src="http://www.thenichegiveaway.com/widget/images/frame/top.gif" width="150" height="88" /></div></td> </tr> <tr> <td rowspan="3" background="http://www.thenichegiveaway.com/widget/images/frame/left.gif" width="7"></td> <td width="136"><div align="center"><iframe align="middle" frameborder="0" src="http://www.thenichegiveaway.com/PageTimerInstall/index.php" width="136"height="237"></iframe></div></td> <td width="5" rowspan="3" background="http://www.thenichegiveaway.com/widget/images/frame/right.gif"> </td> </tr> <tr> <td bgcolor="#FFCC00"><marquee> <div align="center"><span class="style8">Come Back Tomorrow For Another Free Download</span> </div> </marquee></td> </tr> <tr> <td bgcolor="#3399CC"><br /><div align="center"><span class="style1"><u><a href="http://www.thenichegiveaway.com/members.php?id=${config.affiliateid}" target="_blank" style="color: #FFFFFF">The Niche Giveaway</a></u></span></div></td> </tr> <tr> <td colspan="3"><div align="left"><img src="http://www.thenichegiveaway.com/widget/images/frame/bottom.gif" width="150" height="22" /></div></td> </tr> </table> Greetz! Mieke Quote Link to comment https://forums.phpfreaks.com/topic/98062-table-background-wont-display-in-ie-please-help/ Share on other sites More sharing options...
DeFActo Posted March 31, 2008 Share Posted March 31, 2008 Try this: <table width="150" border="0" cellpadding="0" cellspacing="0" background="path to your image"> Quote Link to comment https://forums.phpfreaks.com/topic/98062-table-background-wont-display-in-ie-please-help/#findComment-505748 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.