List Displacement in Firefox.

liunx

Guest
Hi all. Me again!

I have a ul that I set to {margin: 0; list-style-type:none; }
so that I get rid of the indent and graphics, but alas while this works in IE it doesn't in Firefox. In firefox there is still a 40px indent. I guess that means I have eliminated the indent the wrong way. If I set {margin-left: -40px; list-style-type:none; } then it works in Firefox but not in IE - ha ha!
What am I doing wrong.Oh oh!
I found it!
Some browsers use margin to set the indent of a list, some use padding. You have to use the following....

ul {margin: 0; padding:0; list-style-type:none;}

I am soooo good I am answering my own questions now.

:Deven more congratulations! :)You also answered mine!

Cheers me dears :DSuzanneB wrote:
I am soooo good I am answering my own questions now.
You're getting the hang of it now! :DOriginally posted by SuzanneB
I am soooo good I am answering my own questions now. You'll be here answering other people's questions pretty soon.Oof, Charles, I am not sure about that yet. Give me another two weeks.
:D
 
Back
Top