|
Posted by Neredbojias on 08/07/07 20:20
Well bust mah britches and call me cheeky, on Tue, 07 Aug 2007 16:59:50
GMT Matt White scribed:
> On Aug 7, 9:53 am, Matt White <whit...@gmail.com> wrote:
>> Ok, I've tried several different DOCTYPEs as documented
>> athttp://msdn2.microsoft.com/en-us/library/ms535242.aspxand IE still
>> won't work properly. Firefox works fine with all of them. Any ideas
>> as to why? Thanks.
>>
>> New HTML:
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
>> "http://www.w3.org/TR/html4/loose.dtd"> <html>
>> <head>
>> <title>Test</title>
>> <meta http-equiv="Cache-Control" content="no-cache">
>> </head>
>> <body>
>> <table cellpadding="0" cellspacing="0" width="760">
>> <tr>
>> <td bgcolor="#ff00ff">
>> <img src="top_left.png">
>> </td>
>> <td width="740" bgcolor="#00ffff">
>> </td>
>> <td bgcolor="#ff00ff">
>> <img src="top_right.png">
>> </td>
>> </tr>
>> </table>
>> </body>
>> </html>
>
> Ok, I got it. In case anyone runs into this silly IE only problem, it
> treats the extra whitespace on either side of the img tag as literal
> and thinks that you've entered text into the table, so it puts that
> into the cell. Retarded. Basically, you have to have <td><img ...><td>
> for it to work right.
Good ol' ieieieio... Ya know, I knew that but forgot. You put it into
words very well.
--
Neredbojias
Half lies are worth twice as much as whole lies.
Navigation:
[Reply to this message]
|