6 Replies Latest reply: Mar 6, 2014 4:13 PM by Nancy O. RSS

    Setting img width to 100vw doesn't display properly in Dreamweaver CC

    MaxxDaemon Community Member

      If I make a blank page and drop an image in it, remove height and width from the HTML, set the body tag margins to zero, and use CSS to set the width of the image to 100vw, it doesn't fit the image to the borders of the viewing area, but instead makes it a ridiculous, seemingly arbitrarily gigantic size. Testing in a browser or live view, it looks fine. I need Dreamweaver's design viewing area to respect the vw setting or ignore it altogether.

       

      Edit: This seems to be true of everything: div tags, tables, whatever. Dreamweaver's design viewing area has some really crazy idea of how large it should be displaying these things when viewport width is used in CSS.