You are here: Re: positioning in ordered lists « HTML « IT news, forums, messages
Re: positioning in ordered lists

Posted by dorayme on 08/24/07 08:33

In article <Xkwzi.9467$vP5.5679@edtnps90>,
"Stann" <stan@mann.com> wrote:

> Hello,
>
> I'm working with ordered lists. The default list is indented about the same
> amount as a <blockquote> would do. Is there any way to over-ride or tweak
> this, so the list is not indented at all?

First set

ul {margin: 0;padding: 0;}

li {margin: 0;padding: 0;}

to see the effect. Then you can adjust to your heart's content.

You do know about css? If you don't and want quick, in the html,
put:

<ul style="margin: 0;padding: 0;">

and so on.

Otherwise, put this sort of thing in the head of the document:

<style type="text/css">
ul {margin: 0;padding: 0;}
li {margin: 0;padding: 0;}
</style>

Otherwise and best if you have a more styles, put a link in the
head to a separate style sheet.

--
dorayme

 

Navigation:

[Reply to this 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

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