Forum Moderators: not2easy
The person that set up my CSS did this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
p
{
margin:0px 12px 0px 12px;
font-size:10pt;
text-align:justify;
}
#mainc ul
{
clear: left;
margin-right:12px;
}
Surely there is a simpler way than adding all those </p> and <p> tags before and after the lists.
I would note that the <p> element only allows inline elements within, and should not contain block-level elements, and that that this may be where the problem is coming from. With the <div> you can insert other block-level elements, such as <ul>.
You need to close the <p> before opening the <ul>, which could have the effect of 'closing' the <p> and causing problems.
It would take more code to know if there is a better way. Could be a little redesign of the HTML and CSS might reduce the code requirements and get rid of 'extra' stuff that you have now.