• Hi!
    Since I work with WP 2.3, I can’t insert a blank line with the “nbsp;”-code anymore. WordPress saves the site or entry and displays it correctly, but whenever I edit an entry, wordpress deletes the “nbsp;” from the code.

    Any solutions for this problem?

    thanks
    klepto

Viewing 6 replies - 1 through 6 (of 6 total)
  • Something like this works for me.

    <p> </p>

    Are you using an “&” sign in front of it?

    Try upgrading to 2.3.1 if you are. I noticed many bugs I was having are now gone since switching.

    Thread Starter Konstantin

    (@klepto)

    Yes, I used it with the “&” sign. I just upgraded to 2.3.1 and now everything seems to run 🙂

    Thanks to everybody.

    klepto

    i hate to bring up old threads, but i am having similar troubles with wordpress 2.5

    i have no idea how to add a blank line to a post anymore, wordpress doesnt add the nbsp, even after i do an align and all that. how do people actually add a blank line after a paragraph? because it is not working for me. keeps reverting back to no blank line when i switch to html view.

    webmagnets

    (@webmagnets)

    I use <BR /><BR />

    syncbox

    (@syncbox)

    I’d use since WordPress is xhtml and all tags should be lowercase.

    The bigger question is why you want hard line breaks. That would help determine how to achieve them without using breaks this way — typically not a good idea unless you have a good reason to do it.

    If you simply don’t like the space between paragraphs, edit the style.css file to change the margins (top and bottom or both) for whatever rule that affects the paragraphs, probably in .entry p or something similar.

    It’s almost always a good idea to use a 0 margin-top and set the spacing for the margin-bottom below paragraphs. Note that in modern browsers, vertical margins collapse in favor of the larger value.

    If you still need &nbsp; put it between tags, as in <p>&nbsp;</p>

    HTH
    Casey

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘“nbsp;” doesn’t work’ is closed to new replies.