Results 1 to 2 of 2

Thread: line too long

  1. #1
    Join Date
    Nov 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default line too long

    Hi all,

    With this code:

    <style type="text/css">
    .spanLeft{
    width : auto;
    float : left;
    text-align : left;
    FONT-SIZE: 10pt;
    padding: 4px;
    }
    </style>

    <table border=1 width=100% cellpadding=0 cellspacing=0>
    <tr><td align=right><span class=spanleft>Deduction for foreign experts operating a stock exchange business or a securities clearing-house business</span>
    <table border=1 width=40% valign='top' >
    <tr><td valign='top' align=right>
    <nobr>
    $<input type="text" size=10>
    </nobr>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>

    When I test on explorer, the text box jump in the next line automaticaly when the line is too long. But on mozilla or firefox, it continues on the same line. So how I can jump to the next line automaticaly on mozilla or firefox?

    thx
    joe

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Try specifying white-space:normal.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •