CSS and URL

  • Thread starter Alhambra Eidos Kiquenet
  • Start date
A

Alhambra Eidos Kiquenet

Hi misters,

I have ASP.NET website in development, that uses CSS file like this.

I have JPG file for CSS (background-image), using URL to virtual directory
of my website in development (/ConsultaOperaciones)

background-image:
url(/ConsultaOperaciones/comunes/imagenes/HeaderGlassBlack.jpg);



When I install my website in another PC (another company), the virtual
directory will be another (www.company.com/Portal or only www.company.com).

Then, my CSS file will be wrong if I use url(/ConsultaOperaciones...)

Any suggestions about it ?? Thanks in advance



/*Header and Pager styles*/

..HeaderStyle, .PagerStyle /*Common Styles*/

{

background-image:
url(/ConsultaOperaciones/comunes/imagenes/HeaderGlassBlack.jpg);

background-position:center;

background-repeat:repeat-x;

background-color:#1d1d1d;

}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top