Mark Henderson wrote:
[...]
> Just to add to this: John, something you will need to understand is that
> many styling inconsistencies occur between browsers because these
> browsers apply their own styles to HTML elements (hence the now common
> use of a reset style sheet[1]).


When IE8 (post beta) was released, the differences between each browsers 
default stylesheet became smaller [2].

> The most notable difference occurs with
> lists - Safari and Gecko based browsers (e.g. Firefox) use padding-left
> while Internet Exploder uses margin-left to indent,


All modern browser have padding-start for list, not padding-left since 
this default (padding-start) is applied regardless of if the text flows 
from left to right or right to left.


> but as you are
> discovering Exploder also has a default top padding.


Is this a IE6 whitespace bug you referring to for <li>?


> As an FYI, for the
> sake of efficiency, the last 2 above rules can be merged:
> 
> ul.left_menu_txt {
>      list-style: none;
>      margin: 0;
>      padding: 0;
> }
> 
> 
> HTH
> Mark
> 
> Further reading:
> [1] http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/ 


Using the Meyer reset or any other reset is the same a knocking down a 
bridge and then building it back up and can add many extra styles to 
ones CSS.

To be fair, IE8 can not be referred to as 'exploder' since it now is the 
best in implementing CSS2.1 correctly.


2. <http://css-class.com/test/css/defaults/UA-style-sheet-defaults.htm>


-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to