when I set this line:
<ul style="width:100px; height:100px; background-color:green">
<li style="width:100px; height:100px; border:1px solid blue"> 1 </li>
</ul>
The ul ends up wider than my specified 100px width.
Any thoughts on why it's ignoring my settings? How can I get the li and ul to have the same width without extra spacing?
update: Some people were quick to point out a spelling mistake in the style attribute but missed the main issue, which is the ul width problem
ok, I figured it out - just needed to add :
<ul style="....;padding:0"> ... </ul>
thanks...