Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CSS styles are not rendering in Design view

Explorer ,
Jul 11, 2017 Jul 11, 2017

I have a defined site. When I open pages in live view the css styles are not rendered. The site is built with a single .dwt file, which renders css correctly when I open it.

What the heck am I doing wrong?

599
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jul 12, 2017 Jul 12, 2017

Well, I figured out how to fix it. I opened the template and made a change to an editable region. Then I saved the template and updated all the files. Those file paths with the ../ are all corrected now. It would be nice to figure out what I did to cause this to happen.

Translate
Community Expert ,
Jul 11, 2017 Jul 11, 2017

Design view was coded in an era BC (Before CSS) and as such it can only be of assistance when locating/writing text when the text is hard to find in Code view.

To see the site working in Dreamweaver, switch to Live view.

Edit: Your other post was deleted because it duplicates this post.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2017 Jul 12, 2017


My mistake for calling it design view. Old habits die hard.

I am in live view. So I'm not sure what I'm doing wrong. Here's a screenshot of a page:Live view index.png

Here's a screenshot of the .dwt:

Live view dwt.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 12, 2017 Jul 12, 2017

It looks like the links in the finished page have not been translated correctly. Are you working in a defined site? See How to set up a testing server in Dreamweaver

Edit: I love your cars! Here's my extramarital love.

DSC_1296.JPG

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2017 Jul 12, 2017

Yes, I am working in a defined site. Ahhh! Very cool Mercedes!!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2017 Jul 12, 2017

Do I need a testing server if I have an actual server connected? My machine is on its last legs and I really don't want to install anything else on it right now. The above shot was from a copy of my live site, as I am creating another site using that as a template. Here is the original site with a defined site / server set up. It still has the same problem. I re-opened the file index.html in the original site, just fyi...

live view live rdcn.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 12, 2017 Jul 12, 2017

When I see

it points to the links not having been updated when you create the page from the template. The same has undoubtedly happen to the links to your style sheets and javascript. You could go into Code view and change the links to suit, this means removing ../ from the links. An easy task when using find and replace.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 12, 2017 Jul 12, 2017

This may help How to design web pages based on Dreamweaver templates

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2017 Jul 12, 2017

Hmmm, when I create a new page from the template, everything displays correctly.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2017 Jul 12, 2017
LATEST

Well, I figured out how to fix it. I opened the template and made a change to an editable region. Then I saved the template and updated all the files. Those file paths with the ../ are all corrected now. It would be nice to figure out what I did to cause this to happen.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines