redsky
03-17-2010, 09:59 AM
Hi,
I use DW and wonder if there are any shortcuts for inserting an image into a DIV tag background property, i.e. [I<div class="contentdiv" style="background: url(../product_bracelets/2008_450xthumbs_bracelets/001b_black.jpg) center left no-repeat">].
The DW shortcut of drag and drop, or insert img, creates the [I<img src:.../image.jpg>], which doesn't seem to work for background:url. If I type out as is, and I'm working from my hard drive, there is no image for live preview as the path is for my web site root. What am I missing here? :confused:
Thank you!
Judith
I use DW and wonder if there are any shortcuts for inserting an image into a DIV tag background property, i.e. [I<div class="contentdiv" style="background: url(../product_bracelets/2008_450xthumbs_bracelets/001b_black.jpg) center left no-repeat">].
The DW shortcut of drag and drop, or insert img, creates the [I<img src:.../image.jpg>], which doesn't seem to work for background:url. If I type out as is, and I'm working from my hard drive, there is no image for live preview as the path is for my web site root. What am I missing here? :confused:
Thank you!
Judith