how do you remove the indenting with lists?

message from VA_Webmaster25 on 23 Jul 2004
Im applied a style to an ID like this, #id content li but i dont know how to remove that annoying indenting of the list.
 
Durwood Edwards replied to VA_Webmaster25 on 23 Jul 2004
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
<html>
<head>
<title>Untitled Document</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<style TYPE="text/css">
<!--
#marginONLY {
margin-left: 1.5em;
}
#marginPadding {
margin-left: 1.5em;
padding-left: 1.5em;

#reducedMargin{
margin-left: -1em;
 
Michael Fesser replied to Durwood Edwards on 23 Jul 2004
.oO(Durwood Edwards)

Only if you replace your IDs with classes first. Additionally instead of
applying a class(!) to each li-element better put one on the list itself
and use descendant selectors.

Micha
 
Gary White replied to VA_Webmaster25 on 23 Jul 2004
Everything you ever wanted to know about styling lists:
http://www.alistapart.com/articles/taminglists/

Gary
 

Archived message: how do you remove the indenting with lists? (Macromedia Dreamweaver)