Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > scrollbar for tables with foreign language characters

Reply
Thread Tools

scrollbar for tables with foreign language characters

 
 
tm_matty@yahoo.com
Guest
Posts: n/a
 
      03-21-2006
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>

 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      03-21-2006
With neither quill nor qualm, http://www.velocityreviews.com/forums/(E-Mail Removed) quothed:

> In the following simple three column / two row HTML table, when a value
> in the table contains a foreign language character like umlaute (=FC),
> 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=3D1 width=3D"100%">
> <tr>
> <td width=3D"30" nowrap=3D"nowrap"> </td>
> <td nowrap=3D"nowrap"><a href=3D"#" >Column 1</a></td>
> <td nowrap=3D"nowrap"><a href=3D"#" >Column 2</a></td>
> <td nowrap=3D"nowrap"><a href=3D"#" >Column 3</a></td>
> </tr>
> <tr >
> <td width=3D"30" ><a href=3D"#" ><span >1</span></a></td>
> <td><a href=3D"" target=3D"_blank">asdf</a></td>
> <td ><input type=3D"text" style=3D"width:100%" value=3D"asdf adsf adsf adsf
> adsf adsf adsf" /></td>
> <td >
> <input style=3D"width:100%;" value=3D"asdf asdf asdf dsf asdf assdf asfsad
> ZXZXZXZXZXZX=FC" /></td>
> </tr>
> </table>
> </form></body></HTML>


It might be because of all the "3D"s in the code.

--
Neredbojias
Contrary to popular belief, it is believable.
 
Reply With Quote
 
 
 
 
Benjamin Niemann
Guest
Posts: n/a
 
      03-21-2006
(E-Mail Removed) 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/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPNet HyperLink NavigateUrl foreign language characters question Jason Huang ASP .Net 1 08-20-2007 11:36 AM
Survey - implementing CRUD with "foreign name" instead of foreign key. H5N1 ASP .Net 0 05-03-2006 11:36 PM
Foreign Alphabet Characters nta@pipeline.com Firefox 1 10-31-2004 06:47 PM
ScrollBar? Does it exist just WEB ScrollBar Control? Alex ASP .Net Web Controls 1 04-04-2004 12:44 AM
Visual .NET c# design view is showing "?????" for foreign language characters. jaekim ASP .Net Web Controls 2 02-12-2004 07:44 PM



Advertisments