norashlea
-
3/14/2006 5:51:31 AM
ResolveUrl for style or background
Can you tell me the correct syntax for ResolveUrl in a style or as the background for a <TD>? I have an image background which gets lost if the page is lower than 1st level. I've been trying various ways, such as:
background='<%ResolveUrl("~/Images/header.gif")%>' style='background-image: url(<%ResolveUrl("~/Images/header.gif")%>);'
I just get an error:
"; expected"
Thanks, Sharon.
|