Menu
Hi, I have a page with several DIVs of the same class
<DIV class = “divUnMenuNavegacion”>
this is div1
</DIV>
<DIV class = “divUnMenuNavegacion”>
this is div2
</DIV>
They’re made with ASP and in this case I can’t know how many DIVs there will be, so forget about solving it by using id’s for the Divs.
I want to change the right margin of all the DIVs with JavaScript (depending on the screen resolution), so:
Is it possible to change a property of a CSS class with JavaScript????