scrollbar for tables with foreign language characters

Discussion in 'HTML' started by tm_matty@yahoo.com, Mar 21, 2006.

  1. Guest

    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>
    , Mar 21, 2006
    #1
    1. Advertising

  2. Neredbojias Guest

    With neither quill nor qualm, 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.
    Neredbojias, Mar 21, 2006
    #2
    1. Advertising

  3. 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/
    Benjamin Niemann, Mar 21, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    386
  2. H5N1
    Replies:
    0
    Views:
    439
  3. Jason Huang
    Replies:
    1
    Views:
    409
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Aug 20, 2007
  4. jaekim
    Replies:
    2
    Views:
    236
    Sangwoo Im
    Feb 12, 2004
  5. Alex

    ScrollBar? Does it exist just WEB ScrollBar Control?

    Alex, Apr 1, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    265
    Alvin Bruney [MVP]
    Apr 4, 2004
Loading...

Share This Page