- Joined
- Jun 30, 2010
- Messages
- 1
- Reaction score
- 0
Hi everybody
I am having an issue whilst trying to created some User Controls which I can drop into a site at any point, the issue I have is with setting Div Background images.
I know I could set these to use the full url but this is impractical as I would need to change it for every new site I create.
I also can't use ../ as I may be dropping the control will be used in different places all the time.
The only alternatives I have seen have been ~/ or / to go to root, however these don't seem to be working with the css background-image: url() setting.
Any alternative suggestions would be appreciated
Cheers
I am having an issue whilst trying to created some User Controls which I can drop into a site at any point, the issue I have is with setting Div Background images.
I know I could set these to use the full url but this is impractical as I would need to change it for every new site I create.
I also can't use ../ as I may be dropping the control will be used in different places all the time.
The only alternatives I have seen have been ~/ or / to go to root, however these don't seem to be working with the css background-image: url() setting.
Any alternative suggestions would be appreciated
Cheers