Jump to content

Recommended Posts

Posted

Hello all

I have my index page, designed earlier today, when I copy test from ms word file and past in paragraph, my whole document?s align goes to left.

When I remove the paragraph back, it justifies again and comes it its original position.

Any help

Posted

Are you working in Dreamweaver, and using the design view to paste the code in? If so, when you copy text from Word it comes with a bunch of default styling -- a lot of which is invalid for web design and causes display issues when it overrides your existing styling. Your best bet is to copy the text from Word, paste it into a plain text document like Notepad to remove any styling, and then copy/paste that text into Dreamweaver.

 

Alternatively, instead of using the "paste" command to paste content from Word, another option is to go up to Edit -> Paste Special, and select the "text only" option. I believe that will remove any Word formatting as well.

Posted

Look at the horrible code mess you have there - several sets of html and body tags. I'm surprised anything is working at all.

Posted

when you finish writing HTML for the page, validate it before aligning anything with CSS, it will spare a lots of time ( makes no sense to fix CSS if HTML is not written correctly).

Posted

An HTML document has ONE docytpe and one set each of html, head, and body tags. Yours has several each. There may be more errors than that, but I didn't look beyond that - it's too messy. so clean that up, then run your page through the validator, and fix whatever else shows up - and use an HTML strict doctype.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...