2 Replies Latest reply on May 10, 2013 2:26 PM by Muppet Mark

    Relative url in css


      I am writting in extended javascript to convert .ai document into HTML/CSS.  for Placed image item i want to wirte css data. but the url of image path i am getting from the  placedItem is  : '~/Desktop/AdobeIllustrator/home.jpg'  when the same path i am  using in my css like :




      background-image: url('~/Desktop/AdobeIllustrator/home.jpg');


      but the browser is not able to locate the image. can you help  to me please.