Reply to Re: justify <li> list to the right

Your name:

Reply:


Posted by Jukka K. Korpela on 03/06/07 11:17

Scripsit Norman:

> #leftcontent ul li {
> background-color:transparent;
> list-style: none;
> list-style-position: outside;
> }

The identifier "leftcontent" is not semantic but reflects the intended
rendering, so it does not fit into the idea of separating content from
presentation.

Setting "background-color" without setting "color "is pointlessly risky,
especially since "transparent" is the default value.

Setting "list-style-position" is generally pointless after setting
"list-style" to "none". What does it matter where you position a nonexistent
marker?

> the problem which i cannot see how to solve is that if the list item
> wraps in two line i get the following effect:
>
> text text text
> second line text

Huh? This, together with the Subject-line, suggests that you are doing
something that supposedly aligns to the right. What else is there that you
are not telling us? Besides the URL, that is.

> how can i modify the css so that the text aligns under the text rather
> then the bullet point?

What bullet point? You just said list-style: none.

> i have tried both
>
> list-style-position: outside;
> list-style-position: inside;
>
> but nothing happens?!

Miraculously, the nonexistent bullet does not care whether it is outside or
inside! Oh, you nonchalant universe! What a Weltschmerz we must experience!

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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