Rank: Newbie Groups: Member
Joined: 10/24/2007 Posts: 4
|
Hello,
I have a problem with my tabstrip in combination with an external css file.
In my cssfile i have the following:
.IntranetMenuTabStripNormal {FONT-SIZE: 11px; background-image:url(~/images/Global/tabStripBackground1.gif); COLOR: #1a1f51; BACKGROUND-REPEAT: repeat-x; FONT-FAMILY: Verdana, Arial; POSITION: relative; TOP: 2px}
in my tabstrip i refer to the css file by "NormalStyle-CssClass="IntranetMenuTabStripNormal" ":
The control takes all the arguments of the external css file exept the background-image:url(~/images/Global/tabStripBackground1.gif);
My path to the image is correct (100%) The control wont display the image
Can Anybody give my a solution for this problem. I want to work with an external css file.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
That's very normal and it has nothing to do with our product. "~/" is an ASP.NET syntax and it won't work with CSS. You can verify this by applying the same style on a simple DHTML element (a DIV for example) and you won't see the image either.
|