Results 1 to 9 of 9
  1. #1
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post
    Hi there,

    Works cited and bibliographies call for indenting the second line of each given work, which you can do in Word by highlighting the given text, right-clicking it and selecting Paragraph, and changing the dropdown under Special to Hanging.

    Anyone know of a way to do this in HTML?

    Thanks a lot.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    For a single paragraph:

    <p style="margin-left:.5in;text-indent:-.5in">blah blah...

    To define a style, include something like this in the header:

    HTML Code:
    <STYLE TYPE="text/css"> 
    <!--
    P.indent {
    text-indent: -20px;
    margin-left: 20px;
    }
    -->
    </STYLE>
    and use it like this:

    <p class=indent>blah blah...

  3. #3
    4 Star Lounger
    Join Date
    Mar 2004
    Location
    Griffith, New South Wales, Australia
    Posts
    507
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Does the <dl> tag work for you?

    This list has all tags and examples. Show me HTML

  4. #4
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post
    Hi Hans and johbot,

    Thanks a lot for your responses. Unfortunately, I seem to be doing something wrong.

    Bear in mind that the text I want to alter is within a blog post using WordPress; specifically, the bibliography at the bottom of

    http://jonathanrick.com/2003/12/palestinia...f-perpetuating/

    Does that affect how I should be inserting the HTML you propose?

    Thanks again.

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    [quote name='Jon5' post='777398' date='28-May-2009 20:13']the text I want to alter is within a blog post using WordPress; specifically, the bibliography at the bottom of

    http://jonathanrick.com/2003/12/palestinia...f-perpetuating/

    Does that affect how I should be inserting the HTML you propose?[/quote]
    You need a way to isolate the style rule to apply only to the bibliography.

    Does the editing interface allow you to define a <div>? If so, surround your bibliography references (but not the heading) with <div id="bibrefs"> and </div>.

    Then you can qualify the above style so it applies only to those paragraphs:

    Code:
    <style type="text/css">
    #bibrefs p {
    text-indent: -20px;
    margin-left: 20px;
    }

  6. #6
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post
    Thanks, Hans.* Unfortunately, it appears that WordPress does not allow you to define a <div>; here's a screen shot of the editing interface:

    [attachment=84017:wordpress.JPG]

    Thanks again.

    * Meant "jscher2000." Sorry
    Attached Images Attached Images

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    [quote name='Jon5' post='777401' date='28-May-2009 21:05']Unfortunately, it appears that WordPress does not allow you to define a <div>[/quote]
    I notice in your picture there is a tab on the right that says HTML. That doesn't necessarily mean that you can just insert any HTML, but you could give it a try.

    Is there a forum that supports WordPress? I don't know that we have any WordPress users here.

  8. #8
    5 Star Lounger PaulB's Avatar
    Join Date
    May 2002
    Location
    Ottawa, Ontario
    Posts
    765
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='jscher2000' post='777404' date='29-May-2009 00:57']I notice in your picture there is a tab on the right that says HTML. That doesn't necessarily mean that you can just insert any HTML, but you could give it a try.

    Is there a forum that supports WordPress? I don't know that we have any WordPress users here.[/quote]

    It looks like the HTML tab is already selected. The code and more buttons may provide a means to implement the previous suggestion.
    Regards,
    PaulB

  9. #9
    5 Star Lounger
    Join Date
    Jun 2001
    Location
    USA
    Posts
    708
    Thanks
    48
    Thanked 1 Time in 1 Post
    Thanks, jscher. I'm actually already using the HTML tab. Good idea; will post this to the WordPress Support forum.

    Thanks, Paul. I'm unsure what <code> does--seems just to insert "<code>"--but <more> inserts the "click here to continue reading below the jump" thing I'm sure you've seen on blogs.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •