Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Compacting Unordered List


Message #1 by "Ken Lee" <tormented1_au@h...> on Tue, 18 Mar 2003 15:17:01 +1100
Hi Ken,

>   I'm using a javascript I found that uses unordered list and it is
perfect.
>   The problem is, I'm finding that the unorder list is indenting way too
> much and I want to take the indentation back as much as possible.
>   I'm trying to use <UL COMPACT></UL> but IE 6 is not recognising it at
all.
> Is there something else I can use?

Try...

<ul style="margin-left:10px;"></ul>

Or...

document.getElementById("myListId").style.marginLeft="10px";

HTH,

Chris


  Return to Index