Results 1 to 2 of 2

Thread: Wrapped text in IE table

  1. #1
    Join Date
    Mar 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Wrapped text in IE table

    Hi there,

    I am getting a strange result in a table in IE7.

    the code is:-
    Code:
    <td width="73" align="center"><!-- the following doesn't work in IE7 but does in Firefox - <input name='button1' type='button' href ="2coupleweekend/table2coupleweekend2.html" title="2 Couple Weekend League - Table" onClick="NewWindow(this.getAttribute('href'),this.getAttribute('title'),'500','350','no','center');return false" onfocus='this.blur()' value=" View League Table "> --><a href="2coupleweekend/table2coupleweekend1.html" title="2 Couple Weekend Division 1 - Table" class="style8" 
    onclick="NewWindow(this.href,this.title,'500','350','no','center');return false" onfocus="this.blur()">View League Table</a><br>
    <input name='button2' type='button' title="Print Division 1 Fixtures" onClick="window.print();return false;" value=" Print League Fixtures "></td>
    Strangely IE7 translates this as :-
    View
    League
    Table

    (Print League Fixtures)

    Where (Print League Fixtures) represents the button.

    Just can't understand why Firefox shows it as it should be but IE7 shows the three words on separate lines!

    Can anyone explain?

    Allan
    PS the page is at:-
    http://nkelsey.byethost24.com/fixtur...eekenddiv1.php

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    I think the only way to wrap text in tables is to make a style="width:(integer)" attribute in the tag that would wanted to be wrapped with text.

    -magicyte

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
  •