?

Log in

No account? Create an account
HTML question - Phil's Rambling Rants
September 11th, 2008
09:55 am

[Link]

Previous Entry Share Next Entry
HTML question

(7 comments | Leave a comment)

Comments
 
[User Picture]
From:backrubbear
Date:September 12th, 2008 02:38 am (UTC)
(Link)
The end tag for LI is an XHTMLism. Under HTML 4.0, you probably shouldn't have them. Indeed, I think under some people's journal styles, the end tag will render as yet another newline.

One of the options you should have available for posts is to disable LJ's formatting via checking "disable auto formatting". However, at that point, you're completely responsible for encapsulating your content with paragraph and line break tags.

I've largely just taken to putting all list stuff in a single line and that bypasses the problem. I suspect you could get some similar behavior without doing that cramming by overriding the CSS via a style attribute for the list. If you're interested enough, I'll dig through the CSS2 specs.
Powered by LiveJournal.com