Sorry, they are <li>'s. My typo.
What is the proper syntax for controling margins? I tried this this in
the CDD but nothing happened:
LI { margin: 0; }
When I tried this:
UL { margin: 0; }
it took away the extra line but it also removed all the bullet points.
Can anyone share the proper syntax for the CSS?
That is because the before (default) and after is margin: 0. To
make a big effect, choose some other value. Like -5px? or 20px or
-10px...
But first, try the following and describe exactly - exactly -
what it is you want and maybe someone, even me, can tell you what
to put in the css style (nothing there in the following):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"
http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>A simple list</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css" title="text/css">
<!--
-->
</style>
</head>
<body>
<ul>
<li>The baffled young trader</li>
<li>The desert crossing</li>
<li>The fork an army faced</li>
<li>Missionaries and cannibals</li>
<li>The missing king</li>
<li>The camel skin trader</li>
<li>The king's daughters</li>
<li>Poo & Piglet take a walk</li>
<li>Three wise men</li>
<li>The liar and the truth teller</li>
</ul>
</body>
</html>