Click to See Complete Forum and Search --> : href link problem


cofactor
06-05-2009, 11:25 AM
i have images in folder webapp/images

i have a html file at webapp/java/outline.html file

it has a code
<link href="/images/myfreetemplates.css" rel="stylesheet" type="text/css">


but i see no css effect in the outline.html page .....is my relative path to pick the css wrong ?

what should i write in the relative path of href ?

andy_b42
06-05-2009, 11:44 AM
it looks to me like you need to go back a directory first, so i think you need your href="/images/myfreetemplates.css" to be href="../images/myfreetemplates.css"

cofactor
06-05-2009, 11:45 AM
i have images in folder webapp/images

i have a html file at webapp/java/outline.html file

it has a code
<link href="/images/myfreetemplates.css" rel="stylesheet" type="text/css">


but i see no css effect in the outline.html page .....is my relative path to pick the css wrong ?

what should i write in the relative path of href ?

6StringGeek
06-05-2009, 02:22 PM
The poster above you has it correct...

"../images/myfreetemplates.css"