Hey there,
I want to change the margin of a UL element. This UL element doesn't have an ID or NAME attribute. How can I use getElementsByTagName(); ?
Here is my code :
It's a little IE browser hack I'm working on. It's the only way around.HTML Code:<ul id="nav"> <li> <ul> <li> <!-- need to change the margin of this UL using JavaScript --> <ul></ul> </li> </ul> </li> </ul>
Please help me out. I will really appreciate it.







Bookmarks