Posted by Leif K-Brooks on 11/22/51 11:40
Troy Piggins wrote:
> I want the first line of "note" to be indented more than the others, so
> tried this in the stylesheet:
>
> div.note:first-line {
> padding-left: 30px;
> }
Use text-indent instead:
div.note {
text-indent: 30px;
}
You should probably also indent with em, not px:
div.note {
text-indent: 2em;
}
Navigation:
[Reply to this message]
|