Am 18.02.2013 17:48, schrieb Ben:
Ok, thank you: But do I do this in detail?
Assume I have the following HTML structure: <body ...>
  <table ...>
<tbody ....>
  <tr>
<td width=NOT320px ....>
<td width=320px ...>
<td width=NOT320px ...>
</tr>
</tbody>
</table>
<table ...>
<tbody ....>
<tr>
<td width=NOT320px ....>
<td width=320px ...>
<td width=NOT320px ...>
</tr>
</tbody>
</table>
...
</body>
How do I change every second <td> width in a table?

GM_addStyle("table tr td:nth-child(2) { width: 320px !important; }");

Chris

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to