Each time I post, any bulleted list is of a font size larger than the font size of the rest of my text. I have searched through my CSS and am unable to find either (1) the offending code, or (2) possible place to enter the code which might re-size my bulleted list to be the same font size as the rest of my text. Here is a sample post that I am talking about: http://nettingitout.com/. I suspect (but am not sure) that I need to do something to this code to make the correction - question is, what is the right correction to make to this code, if this is indeed the right code to make a correction to:
div.entry-content p { margin: 1em 0; } div.entry-content ul li { list-style: square; } div.entry-content ul li ul { margin-bottom: 0.3em; } div.entry-content ul li ul li { list-style: circle; } div.entry-content ul#linkcats, div.entry-content ul#linkcats li { list-style: none; margin: 0; padding: 0; } div.entry-content ul#linkcats li ul li { list-style: square; } div.entry-content img.center, div.entry-content img.centered, img.aligncenter { display: block; margin: 0.4em auto; } div.entry-content img.alignright { margin: 0.4em 0 0.4em 1.1em } div.entry-content img.alignleft { margin: 0.4em 1.1em 0.4em 0; }
Just off the bat here... I looked at your site with firefox, and your ul is inheriting its font size from the wrapper div, which is 14px. Your p tag, on the other hand, you have specified an em value of 0.85, which will work out on most browsers set to default (I believe) at around 11 or 12 pixels.
I don't know if you have a reset in your CSS, but I always find it handy to stick the following into my stylesheet right away...
p, li { font-size: 16px; }
You can then use em values after that which will be relative to that 16px value. Otherwise, in the short term, just give your li tag a specific font-size value (in this case match it to the .85em value of your p tag) and that will stop it inheriting this value from the wrapper div.
Hope this helps!
EDIT - I'm not big on ems, so someone else might correct what I said in relation to them above - nontheless, you still need to specify that font-size value for your list items... ;)
Thanks
;)
I don't know if you have a reset in your CSS, but I always find it handy to stick the following into my stylesheet right away...
p, li { font-size: 16px; }You can then use em values after that which will be relative to that 16px value. Otherwise, in the short term, just give your li tag a specific font-size value (in this case match it to the .85em value of your p tag) and that will stop it inheriting this value from the wrapper div.
Hope this helps!
EDIT - I'm not big on ems, so someone else might correct what I said in relation to them above - nontheless, you still need to specify that font-size value for your list items... ;)