• Resolved altfg

    (@altfg)


    Hello,

    This is a problem I’ve been having since I began using WordPress. I’ve finally bothered to ask for help.

    I like using Dreamweaver to write my posts — partly because some of them also end up as html files, and partly because Dreamweaver lets me see the final result on the page. Also, I’ve been using Dreamweaver for a few years.

    After I enter everything on Dreamweaver in the “design” mode, I then go to the “code” view, copy the stuff I’ve entered, and paste it the WordPress Write page. All’s well, except that I always need to adjust the margins for *every single line*.

    For some strange reason, Dreamweaver seems to leave a space between the end of one line and the beginning of the next line. When I upload files using Dreamweaver, the space is never a problem. Everything looks perfect. But if I upload those same files through the WordPress blog, then the posts look weird, and I need to adjust the margins.

    It’s nothing horrible, but if it’s a long text it can be both tedious and time-consuming. Is there a way to solve this problem (besides entering the text directly in WordPress)?

    Any assistance would be much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure what editor you’re using in WordPress, but I do what you’re talking about quite often without the effects you’re describing.

    In Dreamweaver, you need to ensure that your lines of code do not break — that is, that they do not wrap to the next line:

    Edit > Preferences > Code Format
    Uncheck “Automatic Wrapping”

    Now, if you need sometimes/ever to view your code in DW’s code view, and you’d like to see it wrapped there, DW can conveniently display your code (in DW) as wrapped lines without the code really being wrapped:

    View > Code View Options > Word Wrap

    Presto! DW displays the code as wrapped (within Dreamweaver) when it really is not.

    Hope this helps!

    Thread Starter altfg

    (@altfg)

    It did help. Thank you very much!

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

The topic ‘From Dreamweaver to WordPress’ is closed to new replies.