|
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/
Navigation:
[Reply to this message]
|