Click to See Complete Forum and Search --> : ul tag


vik_pa
06-16-2003, 08:42 AM
I am having trouble with tag <ul>. The tag produces a space between the above line and the indenting which I dont want

<p>....<p>
[SPACE WHICH I DONT WANT]
(bullet point)

how do i remove the space

Jona
06-16-2003, 10:02 AM
Because of the type of an element the P (http://www.w3.org/TR/html401/struct/text.html#edef-P) element is, it automatically creates a new line (as if two <br> tags) every time it is opened or closed.

Jona

jeffmott
06-16-2003, 12:42 PM
Well, now that Jona's given us the cause of the problem, here's the solution to the problem.<p style="margin-bottom: 0">paragraph</p>
<ul style="margin-top: 0">
<li>list item</li>
</ul>

Jona
06-16-2003, 12:49 PM
Originally posted by jeffmott
Well, now that Jona's given us the cause of the problem...

:D

Jona

jeffmott
06-16-2003, 12:54 PM
;)