Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How avoid empty lines?

2 views
Skip to first unread message

Arnulf Sopp

unread,
Aug 16, 2015, 10:41:54 PM8/16/15
to
Hi!

Some HTML tags such as <div>, or <ol> rsp. <ul>, and others enforce a line
feed. This empty line might not be welcome. My respective present problem
is:

An ordered list (<ol>) takes two columns in a table. The first column
doesn't finish the last list item, so it has to be continued in the next
column. My present (not satisfying) solution:

<html>
<body>
<table><tr>
<td>
<ol start="5">
<li>fifthly</li>
<li>sixth-</li>
</ol>
</td>
<td>
<ul style="list-style-type: none;">
<!-- This avoids unwanted bullets. -->
<li>ly</li>
</ul>
<ol start="7">
<li>seventhly</li>
</ol>
</td>
</tr></table>
</body>
</html>

"sixth-", and "ly" are properly distributed to both columns, but the list
item "seventhly" is separated by an empty line.

How can this be avoided? Being familiar with CSS I wouldn't mind to choose
a solution of that kind. It ought to lift - by which means so ever - a
text one line higher.

Thanks in advance!

--
Bye!

Arnulf
0 new messages