Re: Master page and problems with background-image



Hi all,

Finally a have found the solution. There are two possibilities:

a) using ResolveClientUrl passing the relative URL, example:
<body background=<%=ResolveClientUrl("picture.gif")%>

b) using external CSS, not embedded

Regards,

Félix

"3Dfelix" <3dfelix@xxxxxxxxx> escribió en el mensaje
news:O0WruZv2GHA.4932@xxxxxxxxxxxxxxxxxxxxxxx
I have a problem when using a Master page file in diferent aspx files. Some
of this aspx are in different places. I have see that the problem is with
styles definition on master file, when use "background-image". In some aspx
files this background image are lost.

for example:
background-image:url('../App_Themes/images/image2.gif ');

Any solution for this?



.



Relevant Pages

  • Re: Master page and problems with background-image
    ... I think you will have to move the background image from the Css to the code ... of this aspx are in different places. ... styles definition on master file, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Accessing a code behind variable from ASPX
    ... I need to be able to access a public code behind variable within my ASPX ... The table requires a background image. ... is at the root of the website, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Where do you change the master page property?
    ... Dan Marth wrote: ... This is at the top of every .aspx content page. ... WSS v 3.0 converts ... ~ sign to the actual path of master file. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Master page and problems with background-image
    ... I have a problem when using a Master page file in diferent aspx files. ... files this background image are lost. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dlls = where?
    ... Thanks for the tip but how do i reference the master file from my aspx ... Do i need to add the SharedMAsters folder to my website or something? ... Not sure how to set up the VS.NEt side now....got IIS Set up but it's ...
    (microsoft.public.dotnet.framework.aspnet)