Skip to main content
ReedBHaslam
Participating Frequently
August 9, 2021
Question

Re: File not on local disk?? [Branched from old topic]

  • August 9, 2021
  • 3 replies
  • 578 views

So I move my code to my SSD and my css file is still not being found and live view is still broken.

 

This topic has been closed for replies.

3 replies

ReedBHaslam
Participating Frequently
August 17, 2021

So my problem came down to the fact that I had an <img src="String with Spaces" ....> This error caused the live view to quit working. The strange part was that the only part of live view that did work was the image. It was nicely displayed, but the rest of live view was not displayed correctly or not at all.

Fixing the broken <img src="String with Spaces"..> returned Live view to work properly. 

It would have been nice if Dreamweaver had generated an error calling my attention to the problem.  It flags many other errors, why not this one.

Nancy OShea
Community Expert
Community Expert
August 17, 2021

There are some things that code linting alone does not pick up. The Output panel does not report spaces as a problem, maybe because it's not a problem for all document types.

 

In any case, it's good practice to run code Validation frequently and especially when rendering is not as expected.

Window > Results > Validation > check current document.

 

Nancy O'Shea— Product User & Community Expert
ReedBHaslam
Participating Frequently
August 22, 2021

Are you saying it is too complex for computer code to read the document type and then process document A differently from document B?

 

Nancy OShea
Community Expert
Community Expert
August 9, 2021

[Posted in an outdated topic from 8 years ago.  Moderator branched & moved this to new topic.]

@ReedBHaslam,

So that we may better assist you, please answer the following questions:

  • Which version of DW?
  • Which operating system?
  • Are you working within a defined local site folder that resides on your primary hard drive? 
  • Does your CSS file reside in your local site folder?
  • Are you working with valid HTML & CSS code?
  • Can you show us the code you're working with?

 

 

Nancy O'Shea— Product User & Community Expert
ReedBHaslam
Participating Frequently
August 10, 2021

Everything was working great until in updated to Dreamweaver 21.1, since then I've not been able to get a live view that works.

 

I tried going back to the last 20.x but somehow saw the exact same results, which made no sense to me.

 

Windows 10 version 21H1

Attached css file. Attaching html file resulted in 

The file type (.html) is not supported. Valid file types are: bmp, log, doc, docx, xls, xlsx, ppt, pptx, psd, indd, ai, pdf, prproj, xd, jpg, jpeg, png, tif, gif, crf, nef, dng, raw, x3f, cr2, xmp, mov, wav, mp4, txt, rtf, odt, epub, xml, pmd, fm, otf, ttf, otc, ttc, exif, raf, arw, srw, orf, nrw, crw, cr3, svg, eps, prc, ps, m4a, loss, flac, mp3, ses, csv, flv, fla, sol, ppj, css, json, abf, afm, pfb, pfm, act, ase, 8bf, as, jsfl, cel, psb, svg, idml, aep, sesx, prel, lrtemplate, obj, mpg, avi, stl, skp, fbx, abr, ico, xmp, scc, lrcat, icml, icma, chproj, wmv, arw, srt, swf, dn, cfc, cptx, ics.

Nancy OShea
Community Expert
Community Expert
August 10, 2021

Did you restart your computer after updating to DW 21?

Did you Restore Preferences?

 

Can you copy & paste this code into a new, blank document to see if it displays on your system?

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.fluid {max-width:100%}
.thumb {padding:12px; box-shadow: 5px 6px 1px rgba(0,0,0,0.3)}
h3 {color:antiquewhite; background:brown; padding:1%}
</style>
</head>
<body>
<div>
<h3>Heading 3</h3>
<a href="https://example.com">
<img src="https://dummyimage.com/400x300" class="fluid thumb " alt="Placeholder" title="Example.com">
</a>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis velit minima hic tenetur ea nesciunt tempore voluptas, architecto obcaecati, iusto optio quidem explicabo odit expedita quas? Aliquam libero numquam nesciunt!</p>
</div>
</body>
</html>

 

Nancy O'Shea— Product User & Community Expert
BenPleysier
Community Expert
Community Expert
August 9, 2021

I fail to see that an issue dating back eight years ago could be troubling you now. Please start a new discussiom and describe the problem that you have created for yourself.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!