Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Browser Side
/
CSS
11:11 pm Jul 2, 2026
This page requires javascript.
Forum Moderators:
not2easy
Message Too Old, No Replies
how to get rid of any indent on ordered lists
willeffects
Msg#:1195393
2:58 am on May 7, 2005
(gmt 0)
Im using a <ol> but id like the <li> items to not indent at all. Anyone know what controls this?
Thanks,
Will
RammsteinNicCage
Msg#:1195394
3:37 am on May 7, 2005
(gmt 0)
Try setting the margin on the ul to zero. If that doesn't work, then set the margin on the li to zero (I'm pretty sure it's the ul, but just in case).
Jennifer
willeffects
Msg#:1195395
4:20 am on May 7, 2005
(gmt 0)
Thanks, I had to set the li to margin-left:-10px; . Looks like IE and FF handle it a bit differently though, a few pixels off.
Will
ShaneP
Msg#:1195396
11:11 am on May 10, 2005
(gmt 0)
If you want to create a custom looking list, you usually remove the padding/margins on the list right away.
ul {
padding:0;
margin:0;
}
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Jun
,
May
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
June 2026 Google Search Observations
AdSense Earnings and Observations - June 2026
July 2026 Google Search Observations
Do anything special today?
AdSense Earnings and Observations - July 2026
Good Bye AdWords - or whatever you call it these days
Interesting set of hits using forged searchbot User Agents
Home
Forums Index
Browser Side
/
CSS
11:11 pm Jul 2, 2026