12 Replies Latest reply on Oct 23, 2013 8:57 AM by Preran

    background-size: cover in CS4?

    the marketing guy Level 1

      I want my background image to resize with the browser. A site I'm trying to emulate apparently does this with "background-size: cover," thusly:

       

      <style type="text/css">

      image.bg { background-size: cover;}

      </style

       

      I tried adding that into my DW CS4 code and no dice:

       

      body {

          background-image: url(Pix/myimnage.jpg);

          background-repeat: no-repeat;

          background-size: cover;

          background-attachment: fixed; }

       

      The "background-size cover" has no effect that I can see. Is this an upgrade to CS6 issue?

       

      Thanks.