Brian,

Here is the html code on my http://localhost:8080/mytrial/admin.gsp, on my
grails application.
Just added this to find the absolute location for the images
if I use
<div class="images">
           images/down.gif  image  
      </div>

this goes to link, http://localhost:8080/mytrial/images/down.gif, and it
does not find it.

and if I change this to

        <div class="images">
           /images/down.gif  image  
      </div>
this goes to link http://localhost:8080/images/down.gif, its going to root
intead of going to
http://localhost:8080/mytrial/images/down.gif

Thank you



brian-263 wrote:
> 
> 
> On Sat, Jan 3, 2009 at 8:57 PM, MarkAtHarvest <m...@harvestinfotech.com>
> wrote:
>>
>>
>> Brian,
>>
>> I am a newbie on CSS , let me try to change it and update you back on how
>> it
>> goes, thanks it seems this should work.
>> BTW, changing to /images/down.gif, does not work at all, my images folder
>> is
>> at the root itself. Under the webapps folder of my java application.
>>
>> Even if I try to create a href link to /images/down.gif, it goes directly
>> to
>> http://images/down.gif instead of going to
>> http://localhost:8080/images/down.gif.
>>
> 
> Then you've likely got something wrong with your application. Though
> it's obviously not a jQuery problem, how are you creating these img
> tags?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Absolute-Image-location-tp21258855s27240p21272422.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to