I'm with davidLaakso: simplify your coding, fix any problems, and then
reapply margins or padding to taste. Switch to using
XHTML-transitional for now, because you're not writing strict code
(who is?). I can point out a mistake or two that may be boggling you
right now.

1. List items have padding or margin by default. Mozilla's list items
are padded 40 pixels; IE's list items have 40 pixels of margin. So if
you want to set the indent yourself, (as davidLaakso said) start by
setting both padding & margin to 0.

2. Your CSS only sets the padding for one of the lists-- the left one.
That's why the indentation is different for the lists. Simplifying the
code should help with this, too.


Now in reply to David ([EMAIL PROTECTED] too many Davids):

Almost. Inline CSS is allowed but risks getting parsed (and hence
breaking things) *unless* you comment it out properly:

<style type="text/css">
<![CDATA[
... unescaped CSS content ...
]]>
</style>
See http://www.w3.org/TR/xhtml1/#h-4.8  from which I paraphrased that example.

Also, if I may be petty: no, that's definitely green. :-)


--cc

On 11/9/06, Dave Pierce <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I've got a problem on this page:
>
> http://www.pierceartanddesign.com/NewFiles/index.html
>
> You may notice that the indents aren't lined up the same in the three
> lists in the green box. As they go across, the first on the left is
> just right. The middle list is indented about an em, and the third
> list is indented even more.
>
> Can anyone tell why?
>
> TIA,
> Dave
>
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>


-- 
--> CC <---
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to