none
<p> not working although <br /> is

    Question

  • Hi! Thanking anyone for a reply. Using WLW, Windows XP, IE7 and a blogger blog.

    I have just updated my theme in my blog at:

    http://stvincentsdarlinghurstmalenurses.blogspot.com/

    Prior to this I was using a standard blogger blog template from within blogger. Blogger has recently changed the criteria for third party templates, but after getting over that hurdle, the new one is now working except for a small problem in WLW.

    Now, I updated the theme in WLW but I now find that I can not force a new paragraph by hitting enter. i.e. <p> and </p>.  But I can get one by hitting shift + enter twice i.e. <br />

    Please, can anyone suggest a fix or point out what I am  doing wrong?

    Regards
    Peter McCartney
    Sydney Australia



    Wednesday, March 04, 2009 1:04 AM

All replies

  • Remove these lines from your blogger theme:

    .post-body p {
    /* Fix bug in IE5/Win with italics in posts */
    margin: 0px 0px 0px 0px;
    padding: 3px 0px 3px 0px;
    display: inline; /* to fix floating-ads wrapping problem in IE */
    height: 1%;
    overflow: visible;
    }

    Then 'refresh theme' inside Windows Live Writer.


    No one is using IE5 anymore anyways. :)


    -Brandon Turner [MSFT]
    Wednesday, March 04, 2009 2:13 AM
  • Hi Brandon Turner. I will do that and thank you so much for your help!

    Regards,
    Peter McCartney
    Wednesday, March 04, 2009 3:31 AM
  • Hi! I did as you suggested. To get a new paragraph now I hit "enter" twice, just like here in this comment. 

    Just that in WLW the space between the paragraphs in the edit mode is triple spacing but when I go into preview all is ok.

    Below is what I get to force the new paragraph. I am not accustomed to the "&#160" being between the <p> and the </p>, as prior to the new template I only had <p></p> between the paragraphs.

    If I remove the &#160, there are no paragraphs. 

    ......................................................
    <p>&#160;</p>
    ......................................................

    I hope I haven't confused you too much. I am still learning!


    Regards,
    Peter McCartney
    Wednesday, March 04, 2009 4:31 AM
  • Hi! I found a link within this group that mentions my problem.

    http://social.microsoft.com/Forums/en-US/writergeneral/thread/04c9bf03-f692-4404-b2ae-117784d24857

    Which Joe Cheng answered.

    I removed this from my template as suggested in this question:

    ...........................................
    .post-body p {
    /* Fix bug in IE5/Win with italics in posts */
    margin: 0px 0px 0px 0px;
    padding: 3px 0px 3px 0px;
    display: inline; /* to fix floating-ads wrapping problem in IE */
    height: 1%;
    overflow: visible;
    }
    ............................................

    But the problem still persists. Joe suggested going to:

    You can find the Writer editing template here:
    %AppData%\Windows Live Writer\blogtemplates\<blog-id>\index.htm

    And removing the offending HTML you see above.

    Well, I found that eventually. But what I found was not just one index.htm but a number of them:

    index.htm.path
    index[1].htm.path
    index[2].htm.path
    index[3].htm.path
    index[4].htm
    index[4].htm.path
    index[5].htm
    index[5].htim.path
    Shortcut to index[1].htm.path

    Now, only index[4].htm and index[5].htm (HTML Documents) contain my template but I do not see the offending HTML in either of them.

    If I go into blogger itself there is no problem with the paragraphs, it's just in WLW.

    This is a bit long winded but can you or Joe help me please?

    Take Care,
    Peter
    Wednesday, March 04, 2009 1:27 PM
  • Can you send me your Blogger template?  bturner@microsoft.com
    -Brandon Turner [MSFT]
    Wednesday, March 04, 2009 7:08 PM
  • Hi! Sending the one from my hard drive! - Peter
    Wednesday, March 04, 2009 7:26 PM