Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Bug in 2.015: Render different on <br /> and lists

New Article
Create a bulleted list with 2 items, the first with extra line breaks, e.g.:

+    Item 1

      More about item 1

+    Item 2

(For clarity, HTML is as follows: <ul><li>item 1<br /><br />more on item 1<br /></li><li>item 2</li></ul>

Preview this in IE6:
==>  whitepace between "More on item 1" and "item 2" is lost.  I didn't check it in any other browser.  Expected it to WYSIYG match CD preview

Not a big deal.

Rob Purser
Wednesday, July 30, 2003

Rob... I think this is also normal behaviour, the line break is there, but since there's another thing right below it, the LI, it doesn't render as a blank line. Get it?

+ item<br />
+ item

This is normal, I've worked with HTML a lot. But if CD renders a blank line, then that might be a problem with the DHTML Edit control.
Wednesday, July 30, 2003

Right -- CityDesk appears to render an extra line in the editor.

Rob Purser
Friday, August 1, 2003

*  Recent Topics

*  Fog Creek Home