0

I've wrote problem here: CSS fixed width in span

and that had solution just with 'text-align:right;'. But now:

                 The lazy dog.
ANDDDDDDDDDDDDDD The lazy cat.
              OR The active goldfish.

if i have long right part:

                 The lazy dog.
ANDDDDDDDDDDDDDD The lazy cat lazy cat lazy cat lazy cat
very lazy cat lazy cat very.
              OR The active goldfish.

And this is really problem, bcz i need:

                 The lazy dog.
ANDDDDDDDDDDDDDD The lazy cat lazy cat lazy cat lazy cat
                 very lazy cat lazy cat very.
              OR The active goldfish.

So, is it possible with span & ul-li ?

Here is example: http://jsfiddle.net/gBdMf/

2
  • It will be much easier to help if you provide a working example on JSFiddle or sth like that. Commented Aug 27, 2012 at 19:42
  • 1
    Why are you using <li>s and <span>s? Is there a reason? Commented Aug 27, 2012 at 19:49

1 Answer 1

1

Consider using a DEFINITION LIST instead of an unordered list.

See: http://www.the-art-of-web.com/css/format-dl/

And: http://www.css-101.org/articles/glossary-and-table-format/definition-list.php

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.