How do you indent *every* line of a <span> element?
Posted
by George Edison
on Stack Overflow
See other posts from Stack Overflow
or by George Edison
Published on 2010-03-25T00:46:55Z
Indexed on
2010/03/25
0:53 UTC
Read the original article
Hit count: 260
I have the following HTML chunk:
<span class='instruction_text'>
Line 1<br>
Line 2
</span>
And the CSS declaration of instruction_text is:
.instruction_text {
margin-left: 70px;
font-style: italic;
color: #555;
}
The first line has a 70px
margin as expected, but the next line starts with no indent. How can I make ALL of the lines indented?
© Stack Overflow or respective owner