[thelist] CSS -falling over defaults

Fred D Yocum fdy at mcc.org
Tue Oct 25 07:24:26 CDT 2005


I spent about six hours over the last two days repeatedly returning to a 
web page I'm designingtrying to figure out why a cluster of tags kept 
falling out of the rather narrow enclosing div I put them.  The  dropout 
problem was solved when I gave the h3 tag no margins. I had forgot that 
h3, by default, has margins attached to it, they need to be explicitly 
removed if there is to be no space around around an h3 tag. It made me 
realize that perhaps many of my frequent teeth-grinding moments designing 
with CSS are caused by this phenomenon 

Is there a resource/tip sheet that gives the default display settings for 
standard html tags?

Is there  CSS editing software or a browser plugin that will list all of 
the attributes of a tag/object not just the ones applied by style sheets?

many thanks

F D Yocum



More information about the thelist mailing list