|
Posted by Troy Piggins on 11/22/69 11:40
* Leif K-Brooks wrote:
> 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;
> }
Yep - that's better. Thanks.
--
Troy Piggins
Ubuntu 5.10 pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
vim 6.4
Navigation:
[Reply to this message]
|