Reply to Re: <ul> & <il> gives 1 more line?

Your name:

Reply:


Posted by dorayme on 04/01/06 09:19

In article
<1143871084.580785.285540@i39g2000cwa.googlegroups.com>,
affiliateian@gmail.com wrote:

> 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 &amp; Piglet take a walk</li>
<li>Three wise men</li>
<li>The liar and the truth teller</li>
</ul>

</body>
</html>

--
dorayme

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация