how do I resize table columns the right way. I simply tried the
following:

$('col1').setStyle({width: '30%'});
$('col2').setStyle({width: '70%'});

on:

<table id="table1" style="width: 200px;">
  <tbody>
    <tr>
      <td id="col1" style="width: 50%">
        col1
      </td>
      <td id="col2" style="width: 50%">
        col2
      </td>
    </tr>
  </tbody>
</table>

it works fine for IE, Firefox, Safari but fails for Opera so I
wondered if this is the right way of doing this.
thanks Björn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to