This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2005 > How to import text more cleanly





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to import text more cleanly
ian.greig

2005-06-30, 7:14 am

Can you help me import text onto an existing DW page or template more cleanly?
I'm using CSS. When I update a page I just copy and paste from another doc. DW
converts this to its version of html (I think there's a strange default
operating here) which leaves all the paragraphs closed up and unspaced. I
laboriously insert extra lines at each para. Due to the nature of the html this
gives a 2 line space. So I go back and delete from the beginning of each para
to get my one line space (or whatever I set in the CSS)

What I want is an extension or another method to get 'clean' html text where
the paras are simply <p> and <p/>.

Of course I can work on the html to clean it up but what is the best way to
import text cleanly without DW adding to it, or a quick way to add the tags
beforehand?

Jerry Baker

2005-06-30, 7:42 pm

ian.greig wrote:
> Can you help me import text onto an existing DW page or template more cleanly?
> I'm using CSS. When I update a page I just copy and paste from another doc. DW
> converts this to its version of html (I think there's a strange default
> operating here) which leaves all the paragraphs closed up and unspaced. I
> laboriously insert extra lines at each para. Due to the nature of the html this
> gives a 2 line space. So I go back and delete from the beginning of each para
> to get my one line space (or whatever I set in the CSS)
>
> What I want is an extension or another method to get 'clean' html text where
> the paras are simply <p> and <p/>.
>
> Of course I can work on the html to clean it up but what is the best way to
> import text cleanly without DW adding to it, or a quick way to add the tags
> beforehand?


Use the edit menu to paste, and choose "Paste HTML" or "Paste Text"
depending on what gives the results you want.

--
Jerry Baker

Automatic ALT text on all images
HTML and XHTML doctype switching with a mouse click
"Insert Image+" and "Insert (X)HTML Doctypes" Extensions
http://www.macromedia.com/cfusion/e...thorid=21726084
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews