You are here: Re: scrollbar for tables with foreign language characters « HTML « IT news, forums, messages
Re: scrollbar for tables with foreign language characters

Posted by Benjamin Niemann on 03/21/06 23:05

tm_matty@yahoo.com wrote:

> In the following simple three column / two row HTML table, when a value
> in the table contains a foreign language character like umlaute (ü),
> the scroll bar will not show. Remove the character and it will show.
> To reproduce, you will need to shrink your browser down to hide some of
> the data.
>
> Does anyone have an idea why this would happen?
>
> <HTML><body><form>
> <table border=1 width="100%">
> <tr>
> <td width="30" nowrap="nowrap"> </td>
> <td nowrap="nowrap"><a href="#" >Column 1</a></td>
> <td nowrap="nowrap"><a href="#" >Column 2</a></td>
> <td nowrap="nowrap"><a href="#" >Column 3</a></td>
> </tr>
> <tr >
> <td width="30" ><a href="#" ><span >1</span></a></td>
> <td><a href="" target="_blank">asdf</a></td>
> <td ><input type="text" style="width:100%" value="asdf adsf adsf adsf
> adsf adsf adsf" /></td>
> <td >
> <input style="width:100%;" value="asdf asdf asdf dsf asdf assdf asfsad
> ZXZXZXZXZXZXü" /></td>
> </tr>
> </table>
> </form></body></HTML>

I've had something like this, too. This is a IE specific bug. I some cases
IE calculates the width of the INPUT from the prefilled VALUE. I think the
CSS attribute 'width' with '100%' or 'auto' causes this bug.

I have no fix for this at hand - the webapp that has this problem uses
TEXTAREAs (for different reasons) when the text get longer than X
characters, so the bug is not triggered anymore.


--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

 

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

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