Thread: LRF output
View Single Post
Old 08-17-2007, 10:20 AM   #391
Excalibur
Member
Excalibur began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2007
Device: Sony eReader 500
Well, I tried it in Firefox and it renders with two spaces. IE is wrong when it comes to rendering HTML properly. Anyway, I tried it in IE and it does incorrectly render with 1 space.

So, which do you go with? Standards compliant Firefox or non-standards compliant IE. Either way, you could just as easily remove any whitespace at the beginning of a non-pre tag and that will fix said issue. If the tag has CSS that says it is white-space:pre; then you can check that before removing the space at the beginning of a tag and determine if you need to remove it or not.

hmm I forgot what started this conversation anyway... heh
Excalibur is offline   Reply With Quote