On 21 Mar 2007, at 17:10, Jukka K. Korpela wrote:
> On Wed, 21 Mar 2007, liorean wrote:
>
>> <uri:http://www.w3.org/TR/CSS21/sample.html>
>>
>> However, browsers don't follow that perfectly.
>
> The default rendering of lists is relatively similar in different
> browsers, but here, too, it's better to set the values than to try  
> to get
> them. Note that different browsers achieve the same effects in  
> different
> ways, so if you set any of the relevant properties (and I think you
> should), you should set all margin and padding properties for both the
> list (ul or ol element) and the list items (li elements).

To alleviate cross-browser issues like this myself, I tend to use a  
"reset" CSS file which reverts all browser styling to a blank slate,  
allowing you to start from scratch and render them however you  
please. An example is the Yahoo! User Interface library CSS file:
http://developer.yahoo.com/yui/reset/

______________________________________________________________________
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