Monday, July 02, 2007

Stylesheet fix for Weblog Publisher

Lately I noticed that the Sun Weblog Publisher uses an “additional” <p...> tag in list items <li>, which usually adds a line break right after the items bullet,


  • like this

I played around with the stylesheets of my blogs a bit to turn this off. The secret sauce looks like this:

ul li p {
display:inline;
}

To set the appearance or a paragraph that is nested within a list item of an unordered list to “inline” instead of “block”, so it no longer starts on a new line.

Hope this works now, I hate the manual edit...

No comments: