View Full Version : Default style values for html tags
David
12th Aug 2004, 03:20 pm
Does anyone know where I can find a listing of the default style values for html tags. What I mean is this; when no CSS is applied to html, tags like
have a default line and paragraph spacing - but what is it? I know these default values vary from one browser to another (and this is the cause of much of the incompatibility) but I don't seem to be able to find a definitive listing anywhere for IE or MOZ or...
francis
12th Aug 2004, 04:01 pm
I don't think there really is much difference in the default rendering of HTML between the browsers - I'd be interested in knowing of some (apart from acronym and abbr - non-IE browsers but a tiny underline on the text for both - IE doesn't support abbr at all and has no default rendering for acronym).
Try the bundled O'Reilly docs that come with Dreamweaver I find them really helpful - they describe the tags and usually have a description, eg this for <cite>:
Browsers have free rein to determine how (or whether) to distinguish CITE element content from the rest of the BODY element. Both Navigator and Internet Explorer elect to italicize the text.* This can be overridden with a style sheet if you wish.
You could always build one yourself - it could prove hit-worthy. There are only about 90 HTML 4.01 elements (http://www.w3.org/TR/html401/index/elements.html)!
Have a look at this text sizing series of pages (http://www.thenoodleincident.com/tutorials/box_lesson/font/) - this will give you some idea of what you're up against...
francis
14th Aug 2004, 08:57 am
Oh, and no proper implementation for the Q element (http://www.w3.org/TR/html401/struct/text.html#edef-Q), which is really annoying as it could be used a great deal.
Visual user agents must ensure that the content of the Q element is rendered with delimiting quotation marks. Authors should not put quotation marks at the beginning and end of the content of a Q element.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.