HTML Tips

Q. How can I copy formatted content from a Word document or another Web site?

A. Word documents include a lot of HTML tags that don't work on Democrats.com like <font> and <p class> and <span>.  We encourage you to copy just the text of your document and paste it into a format-stripping program like Notepad. Then copy/paste it again as clean unformatted text into Democrats.com.

Q. How do I embed Youtube objects or other video?

A.  It's a bit tricky:

  1. Click "disable rich-text" below the editing box so you are working in pure HTML
  2. Paste the <object> code
  3. Separate the <object> code from your text with <p> (before and after) so your text doesn't wrap next to the video 
  4. For the "Input format" setting, choose "Pure HTML"
  5. Scroll to the bottom and press submit
  6. Note: You must repeat this operation each time you edit your node because the rich-text editor "eats" the <object> code every time you re-load it

Q. My post with a Comedy Central video displays text strangely to the right of the image, rather than below.

A. Delete "align='left'" (or center) from within the Comedy Central embed code 

Q. When editing a blog or forum node the rich-text editor often strips out the paragraph formatting.

A. Highlight and copy text in any node before editing, so you can paste it if it appears all wrong in the editor.