List Elements — Line Spacing

Why is it that the spacing on lists does not display correctly when in tables? The problem here is that NetObjects Fusion is correctly closing the  <UL> or <OL> tag in the HTML. This is a block format like a FORM tag or a  <P> tag.  In many browsers these elements are automatically  separated out from the other elements which encase them. The only way to get around this is to change the HTML so that the tag is not  closed.

The way to do this in NetObjects Fusion 4.0 is at the end of the bulletted list, place your cursor and click on the HTML button in the Format Properties. In the Insert HTML dialog enter the following text:

<!--

Click OK.  Then select the cell in which the bulletted list is contained.  Click on the HTML button in the Cell properties.  In the After Tag field enter the text:

--></LI></TD>

This closes the list element and the table cell without closing the list itself. The bullets should now display without the extra space.

So let’s try this with the lists elements  we used before:

Bullet

  • One
  • Two
  • Three

Square

  • One
  • Two
  • Three

Disc

  • One
  • Two
  • Three

A,B,C

  1. One
  2. Two
  3. Three

I,II,III

  1. One
  2. Two
  3. Three

1,2,3

  1. One
  2. Two
  3. Three

Looks a lot better doesn’t it? The above examples are not images like the examples on the last page. You are seeing them in your browser exactly the way that I have coded them.  Note that this does look a little different when you don’t have the list elements inside a table cell:

  • One
  • Two
  • Three
  1. One
  2. Two
  3. Three

 

The above lists are just text boxes which have been embeded inside this text box. No additional code has been added and they display correctly.  However, the limitations of the TYPE options still apply to Internet Explorer.

If you are using NetObjects Fusion version 3.0x, there shouldn’t be a problem with the spacing of lists in tables because the closing <UL> and <OL> tags were deliberately excluded from the HTML for this very reason.  However, because of complaints of “inclomplete” HTML we re-included them in version 4.0.

Go Back to Previous Page

Have a question that you can´t find the answer to? Want to report a possible bug?

Send a help request to NetObjects Technical Support