<mi*************@yahoo.comwrote in message
news:11*********************@y80g2000hsf.googlegro ups.com...
Hello everyone,
Anyone know how can I change the 30px below to a different value from
a javascript function?
<table>
<tr>
<td>
<div id="star-rating">
<ul>
<li id="id1" name="name1" class="current" style="width:30px;"></
li>
</ul>
</div>
Any help would be greatly appreciated!
You can either change the style object's width attribute or assign a class to it via
className.
http://www.irt.org/xref/style.htm
However, I would be remiss if I did not mention that you can change the width of the
element using the pseudo-class :hover.
-Lost