Forums / Developer / ez css issue
Paul Forsyth
Tuesday 27 January 2004 2:21:51 pm
Im a little confused with some css.
Take this bug report:
http://ez.no/community/bug_reports/fetch_content_tree_fatal_error_if_tpl_contains_user_errors
On linux, mozilla-firebired 0.7, konqueror, and others i presume, why does the text size suddenly increase after the end of the 'pre' block. I've had a brief look at the css and can't see anything in the way...
paul
Alex Jones
Tuesday 27 January 2004 2:48:46 pm
I would wager it has nothing to do with CSS, and rather is due to the misplacent of the pre tag which is not allowed within p tags. As there is not a p tag following the pre tag, the browser treats the text as normal text according to the containing element(s), so, the text after the pre is not assigned the standard font sizing for paragraphs. In many cases, modern browsers will consider a container tag (p in this case) closed if they run across in an invalidly nested tag within it (pre).
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>