You are here: Re: Table / Whitespace issue in MSIE ? « HTML « IT news, forums, messages
Re: Table / Whitespace issue in MSIE ?

Posted by Arne on 06/02/05 21:29

Once upon a time *Bob* wrote:
> Table issue: the table below has a fixed column width with a graphic
> of that exact width in it. Next to the graphic is a little text. Since
> the graphic is the exact width of the column, the text should
> be forced to the next line.
>
> Works fine in Netscape & Mozilla. In MSIE, the "Text" will not wrap
> to the next line *unless* there is a hard space between the closing
> angle bracket of the <img> tag and the word "Text". Instead, it stays
> on the same line of the graphic and forces the cell to get larger.
>

As far as I know both image and "Text" is inline elements and it's
advised to use line break <br> if you want to force a line break
within or between inline elements. I do it allways even if Mozilla
don't need it, because the fixed width is honoured by standard
following browsers.

But if it works on IE with a space, what's the problem with that?

--
/Arne

Top posters will be ignored. Quote the part you
are replying to, no more and no less! And don't
quote signatures, thank you.

 

Navigation:

[Reply to this 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

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