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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...