A
A
Alexey2011-08-06 18:01:47
css
Alexey, 2011-08-06 18:01:47

How to competently make internal horizontal indents of text in an element with position:inline ?

Actually, it is necessary to make up like this:

But it turns out only this way:

There are indents only on the left of the first line and on the right of the last.
How to make it more competently so that all lines have it on both sides?
Of course, you can make each line a separate element and wrap it all in

<a>...</a>
but I don't think this is the best way.

You can look at the code and try to change it here

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
almazmusic, 2011-08-06
@Alert

chikuyonok.ru/2010/01/uniform-text-background/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question