Dear Readers,
With the following CSS I wanted to create a list,
where there is no empty line between the 'title' and the list.
Also put the bullets closer to the left margin.
And the spacing between two list should be one line.
ul.tight {margin-top:0em; margin-left:1.3em;}
The html then looks like this
<p>
<b>Here goes the title one</b>
<ul class=tight>
<li>item one</li>
<li>item two</li>
<li>item three</li>
<ul>
</p>
<p>
<b>Here goes the title two</b>
<ul class=tight>
<li>item one</li>
<li>item two</li>
<li>item three</li>
<ul>
</p>
Now this renders fine on IE, but not on FireFox or Opera.
Which puts an empty line between de title and the list.
Later I looked in the HTML specs and I found that:
One should not put <ul></ul> inside <p></p>.
Has anyone a suggestion how to do this
so it will render correct on most browsers?
Tia Jean.