Roelf
06-26-2002, 03:22 PM
Hi,
how can i adjust the indent level for an li element in an unordered list.
Roelf
how can i adjust the indent level for an li element in an unordered list.
Roelf
|
||||
Indent level for an li elementRoelf 06-26-2002, 03:22 PM Hi, how can i adjust the indent level for an li element in an unordered list. Roelf QuackHead 06-26-2002, 03:23 PM Which way do you want to adjust it? jkd 06-26-2002, 05:39 PM Experiment with: li { margin-left: 5px; } You can also try padding-left; :) QuackHead 06-26-2002, 06:32 PM That'll probably only work for IE, I could be wrong though. ~Quack jkd 06-27-2002, 12:38 AM Originally posted by QuackHead That'll probably only work for IE, I could be wrong though. ~Quack Should actually work in IE5+ and any Gecko-based browser, as well as Opera 5+. I'm not sure about IE4. Roelf 06-27-2002, 08:51 AM thanks, the margin-left property worked fine for me Zvona 06-28-2002, 08:04 AM I use div element for better results : <div style="width:640px;"> <ul> <li style="margin-left:20px;">Intended 20 pixels</li> <li>Not intended</li> </ul> </div> |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum