Skip to main content
Participating Frequently
July 16, 2020
Question

Dynamic preview in Dreamweaver has a different result than the one shown on Device Preview.

  • July 16, 2020
  • 1 reply
  • 367 views

Well I have a PHP project that on My localhost displayes the same result than the dinamic preview in Dreamweaver. But it's different than the one on the Device Preview. I am running a Wamp Server. I don't know why, but when I press F12 it is not showing the correct result. This problem is only happening on my PC. On my laptop it's working fine everywhere, dynamic preview, device preview and ont my localhost.

Well my obvious question is, how to resolve this problem, to return to normal my F12 showing the same result as my localhost.

 

    This topic has been closed for replies.

    1 reply

    BenPleysier
    Community Expert
    Community Expert
    July 16, 2020

    Could the problem be the browser cache? 

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

    Ben thanks for the answer, just cleaned the cash, but it still doesn't work. Navigation history, images, etc. To be more specific...

    on the php page I have this:

    <div class="conteiner">
    <div class="box">
    <div class="oracao-img">

    </div>
    </div>
    </div>

    on the CSS page I have the background imageof the class="oracao-img" as copied below.

    .oracao-img {
    width: 300px;
    height: 150px;
    background-image: url(../images/oracaomini.jpg);
    }

    but the image doesn't load only on the device preview of dreamweaver.

    BenPleysier
    Community Expert
    Community Expert
    July 16, 2020

    At least you did not show the correct spelling as in `oração`

     

    As far as the code is concerned and assuming that the spelling is correct (conteiner), I see nothing wrong with the code that you have shown.

     

    Is it possible that you have uploaded the site. In that case it would be best if you give us the link to it. 

     

    The only other thing that I can think of is that you have used position: absolute somewhere in your style sheet.

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