Welcome Guest Search | Active Topics | Sign In | Register

How to specify background-image for stock images in external css file Options
Tommy Kan
Posted: Tuesday, November 13, 2007 8:08:39 PM
Rank: Member
Groups: Member

Joined: 7/1/2007
Posts: 17
I am trying to externalize the style element of a tabstrip in style.css file.

<eo:tabstrip id="tabStrip" runat="server" controlskinid="None" multipageid="MultiPage" >
<TopGroup Style-CssClass="tabStripDeal1" Style-CssText="" Width="100"><Items>
<eo:TabItem ItemID="tabFindDeals"></eo:TabItem>
<eo:TabItem ItemID="tabDealDetails"></eo:TabItem>
</Items>
</TopGroup>
<LookItems>
<eo:TabItem Image-BackgroundRepeat="RepeatX" Image-Mode="TextBackground" Image-SelectedUrl="00010205"
Image-Url="00010202" ItemID="_Default" LeftIcon-SelectedUrl="00010204" LeftIcon-Url="00010201"
RightIcon-SelectedUrl="00010206" RightIcon-Url="00010203">
<SubGroup OverlapDepth="8" Style-CssClass="tabStripDeal1">
</SubGroup>
</eo:TabItem>
</LookItems>
<DesignOptions BackColor="239, 235, 222" />

===============
In External CSS file, I have the following:

.tabStripDeal1
{
background-image:url('00010200');
background-repeat:repeat-x;
cursor:pointer;
cursor:hand;
font-family:tahoma;
font-size:9pt
}

But the background-image is missing from the the webpage when I visit the page in the browser.

Please let me know how to enrich the background-image:url('00010200') attribute to find the stock item in the eo package.

Thanks
eo_support
Posted: Tuesday, November 13, 2007 9:28:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will need to extract the image from Images.zip first. You can find that file in the installation folder. Once you have the real images, you no longer use the stock image ID, but use a real image Url instead.

Thanks


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.