Skip to main content
Participating Frequently
January 9, 2017
Question

Dreamweaver shows the css styles from a different website

  • January 9, 2017
  • 1 reply
  • 775 views

I have had this happen to two different websites so it's important I get the answer.

I am creating a newsletter to be sent out via an email broadcast, so I need to use absolute links to the css style sheet (e.g., http://www.afpneo.org/zcss.css instead of ../zcss.css).

When I use the relative link (../zcss.css), the newsletter looks fine in design view. However, when I switch the link to http://www.afpneo.org/zcss.css , it actually shows and lists the styles from one of my other websites (e.g., http://www.bcfohio.org/zcss.css

When I publish it, it looks fine - it shows the styles from afpneo, but I need it to show the styles when I am in design view so I can design it correctly. Any ideas?

Thank you!

Here's the code in case you don't believe me! And yes, this appears in all my past enewsletter files!

    <link href="http://www.afpneo.org/zcss.css" rel="stylesheet" type="text/css" />

This topic has been closed for replies.

1 reply

John Waller
Community Expert
Community Expert
January 9, 2017

Which version of Dreamweaver are you running?

Which operating system?

askjacqAuthor
Participating Frequently
January 9, 2017

CS6, Windows 7

Nancy OShea
Community Expert
Community Expert
January 9, 2017
  • For best results, always work in a defined local site folder.
  • Bring your remote assets to your local folder.
  • During development, use document relative links for images & stylesheets.
  • When you're done, use Find & Replace to change document relative links to absolute links.

Incidentally, if you do a lot of HTML emails, you can put them all in the same local site folder.  You don't have to define a new site for each newsletter.

Nancy O'Shea— Product User & Community Expert