Modificar estilo css con javascript
Publicado por Jorge (2 intervenciones) el 26/11/2010 21:46:07
Hola a todos.
Tengo este código:
#tabla {
margin-left: 10px}
</style>
</head>
<body>
<table width="1100" border="0" bgcolor="#000000" id="tabla">
<tr>
<td>asdfasdfasdf</span></td>
</tr>
</table>
Necesito, mediante javascript, modificar el valor de 10 px del Estilo 'tabla' ¿Lo entendéis?
¿Alguien me puede ayudar, por favor?
Muchas gracias!!!
Tengo este código:
#tabla {
margin-left: 10px}
</style>
</head>
<body>
<table width="1100" border="0" bgcolor="#000000" id="tabla">
<tr>
<td>asdfasdfasdf</span></td>
</tr>
</table>
Necesito, mediante javascript, modificar el valor de 10 px del Estilo 'tabla' ¿Lo entendéis?
¿Alguien me puede ayudar, por favor?
Muchas gracias!!!
Valora esta pregunta


0