Reply to Re: Rounded Corners: FireFox vs. IE

Your name:

Reply:


Posted by Matt White on 08/07/07 16:59

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация