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
12:31 am May 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
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
what do they want?
Hello again, it's been a while
I need some SEO help
SEO question
Do you get tired of others copying your content?
5 SEO Tips That Actually Worked for My Blog in 2026
Home
Forums Index
Browser Side
/
CSS
12:31 am May 2, 2026