Skip to main content
Dr_Atomic
Inspiring
April 21, 2019
Answered

Text aligned differently on webpage vs in DW

  • April 21, 2019
  • 1 reply
  • 727 views

I've been making some changes to my website, and I noticed that after I tweaked things a bit and added a photo or two, the text on the website is now all aligned to the center. I checked DW and it looks good there; it's still aligned to the left - the way I want it, so I wouldn't know what to change. I certainly didn't knowingly change the alignment in any way. Any ideas on how to correct this? I have DW CS6.

This topic has been closed for replies.
Correct answer Dr_Atomic

Weird - I simply highlighted the text in DW that was already aligned to the left, then selected Align > Left, then saved it. After re-uploading, I rechecked my webpage and voila! Corrected.

1 reply

Community Expert
April 21, 2019

Hi,

Can you post a link to the website and we'll be able to help you then ...

Paul-M - Community Expert
Dr_Atomic
Dr_AtomicAuthorCorrect answer
Inspiring
April 21, 2019

Weird - I simply highlighted the text in DW that was already aligned to the left, then selected Align > Left, then saved it. After re-uploading, I rechecked my webpage and voila! Corrected.

Nancy OShea
Community Expert
April 21, 2019

Dr_Atomic  wrote

Weird - I simply highlighted the text in DW that was already aligned to the left, then selected Align > Left, then saved it. After re-uploading, I rechecked my webpage and voila! Corrected.

<shudder>  The align attribute is obsolete in HTML. </shudder>

I think you need to validate  code and fix reported errors.  It sounds like you have missing or unclosed tags in your markup.

https://validator.w3.org/

https://jigsaw.w3.org/css-validator/

Nancy O'Shea— Product User & Community Expert