Log on:
Powered by Elgg

ELGG Template :: Blog :: A request to add "class=indented" code to Elgg's stylesheet

December 18, 2005

In this post I noted that the appearance of the "blockquote" html command had changed. Sven's comment stated that the appearance is more appropriate for this command, but that there is no other html command that provides a text block indent. Sven suggested that a "shortcut class could be created in the stylesheet to avoid ppl having to write their own css ...".

I did a Google search and found "Indenting a Section of the Page". Could you add this code to Elgg's stylesheet so I and others have a function to indent text?

Keywords: 12/18, blockquote, indented

Posted by ELGG Template - Pete Hubbard


Comments

  1. You could just make a copy of an existing theme and add that block of code to the new theme.

     Else, use:
    <div style="padding: 0 20px 0 20px;">Your indented text</div>

    Should look like:

    Your indented text

     

    wizapwizap on Monday, 20 February 2006, 05:21 CET # |

  2. Yes, but unless this code is inserted in the Elgg CSS, only I will be able to use it.

    Thanks. 

     

    Pete HubbardPete Hubbard on Monday, 20 February 2006, 20:43 CET # |

You must be logged in to post a comment.