Previous Message
Next Message

Re: [css-d] List indents

Sent by Timothy J. Luoma on 3 September 2002 15:03


Eric A. Meyer wrote:

 > In addition to all the answers you've gotten, you (or others) might
 > be interested in a recent DevEdge article that explains why IE and
 > Gecko are inconsistent in their behavior, and how the list markers
 > fit into the picture:
 > <http://devedge.netscape.com/viewsource/2002/list-indent/>.

Quoting that page:
<q>
If you want to reset lists to have no indentation, then you still have 
to zero out both padding and margin:

ul {margin-left: 0; margin-right: 0;}
</q>

Huh?  Where does the 'margin-right' fit in, or was that supposed to be 
'padding-left' ?


I've added:
ul,li {
	margin-left: 	0!important;
	padding-left:	0!important;
	margin-right: 	0!important;
	padding-right:	0!important;
	}

to http://www.tntluoma.com/css/tests/no-indent-lists-no-conditional.html 
and I am still seeing indents with IE6/win

TjL


-- 
30 Days to becoming an Opera Lover
                                  http://www.tntluoma.com/opera/lover/
Day Seven: Seek and Ye Shall Find
                http://www.tntluoma.com/opera/lover/day07-quicksearch/
Previous Message
Next Message

Message thread:

Possibly related: