There is nothing wrong with placing a block level element inside another. However, the p element is a special case. It requires no closing tag, so closes automatically whenever a new block level element is encountered. So, although it will require changing your stylesheet in order to get the look that you want, the p element should be replaced by a div element which will not self close upon encountering the ul element.
About the bullets in IE 7, for some stange reason, it appears that using width, height, or float with ul removes the bullets. So:
Code:
#listcontainer {
float:left;
width:285px;
}
#lst{
margin:0;padding:0;
margin-left:20px;
}
#lst li{
color:#2e3b4c;
font:12px,arial;
padding-left:5px;
}
and:
HTML Code:
<div id="listcontainer">
<ul id='lst'>
<li>Ground floor – 2,100 sq.m. event hall, with optional partitions into smaller halls, including outdoor garden and service areas.</li>
<li>First floor – 176 sq.m., including offices, service areas, and parking lot</li>
</ul>
</div>
Bookmarks