HighDots Forums  

margins/padding for bulleted lists..

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss margins/padding for bulleted lists.. in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: margins/padding for bulleted lists.. - 06-26-2008 , 09:37 AM






Stanimir Stamenkov wrote:
Quote:
Wed, 25 Jun 2008 11:23:22 -0400, /maya/:

I'm having a problem w/bulleted lists.. as you know FF and IE do diff
margins/spacing for these, so have to do stuff like

/* IE: */
* html ul.headlines {margin-left:20px; margin-top:0px; }

/* FF: */
html> body ul.headlines {margin-left:-20px; margin-top:0px; }

Already answered, but described here, also:

Consistent List Indentation
http://developer.mozilla.org/docs/Consistent_List_Indentation

That confirms what I said, does matter which browser, just on rule is
need but be sure to set both padding and margin to get constancy. Use
margin for the indent if you do not want the background to extend under
the bullets, or padding if you do.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.