javascript - images in Aptana 3 project not displaying -
i adding images existing webapp, using aptana 3 on windows 7.
first cut , pasted images folder, didn't work, created new folder in project directory , imported files. when run code error in firebug saying 'file not found'.
i can click on image aptana directory, , opens in windows photo viewer. path given same path given firebug. have refreshed folder , enclosing folders, , have ran app ie, firefox , chrome, still cannot see images in app.
i tried running code using aptana's internal server (set firefox) , tried mount code on our development server...no images in either case.
the images added in html/css so:
(html:)
<div class="image"></div>
(css:)
.image{ height:15px; width:15px; background-image: url(../images/legend/image.png); background-position: center top;
}
..in existing code, there several other images added in same way (by else), , these images show in app.
can tell me wrong here?
try removing ../
"background-image" looks this
background-image: url(images/legend/image.png);
Comments
Post a Comment