View Single Post
Old 02-09-2009, 10:57 PM   #77
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by Amalthia View Post
Is there another equivalent to <br> that does not require stylesheet coding? Because in my book the people who were coding mobipocket and MS Reader screwed things up. <br> stands for a line break not paragraph.
This special interpretation applies only to <br/> tags which are direct children of the <body/> element, so just wrap everything in a <div/> and you should be fine.

The problem with <br/> is that it's a purely formatting element. HTML isn't really a formatting language, especially XHTML 1.x. Instead the markup language supplies semantic constructs -- tags for headers, paragraphs, quotations, etc -- and allows any formatting for those elements the designer wants using CSS. The <br/> tag doesn't really fit this paradigm, and is best avoided (IMHO, as yes -- it isn't yet deprecated).
llasram is offline   Reply With Quote