Welcome Guest Search | Active Topics | Sign In | Register

Tabstrip and external css file Options
Stijn Redant
Posted: Wednesday, April 30, 2008 7:36:45 AM
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.

eo_support
Posted: Wednesday, April 30, 2008 8:10:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
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.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.