problems with subimageborder

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ArAnManDapCel
Beginner
Beginner
Posts: 2
Joined: Thu Sep 13, 2007 10:59 pm

problems with subimageborder

Post by ArAnManDapCel » Thu Sep 13, 2007 11:11 pm

Hi,
I use css for my imageborders:
/* Image settings */
img {
border-style: outset;
border-color: #828200;
}

I also use a image in the menu:
subimage="./menu/arrow.gif";

I don't want the bordersettings I use for my default pictures to be used on the subimage. Is there a way to disable this or set them to 0 :?:

Thnx

User avatar
Ruth
 Team
 Team
Posts: 8761
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: problems with subimageborder

Post by Ruth » Fri Sep 14, 2007 8:38 am

Hi,

We have just had another post on this issue. Using the generic IMG in css will set it for all images, even those in the menu. Doesn't seem to be a way to over ride this. There is a style property called rawcss. Unfortunately, I would have no idea how to get that css code into it.

Code: Select all

img {
border-style: outset;
border-color: #828200;
}
I tried using

Code: Select all

rawcss="IMG{border-width:0px;&#125";
where the & 123 is the ascii code for {. Then I tried just putting in the bracket rawcss="IMG{border:0px solid transparent}"; But though neither gave an error, the border still showed on the subimage.

The only way I know to stop it is to set up your page img borders in css using an id or a class. This will not then apply to the menu. You might contact Milonic directly about this problem.

Ruth

ArAnManDapCel
Beginner
Beginner
Posts: 2
Joined: Thu Sep 13, 2007 10:59 pm

Re: problems with subimageborder

Post by ArAnManDapCel » Mon Sep 24, 2007 8:16 pm

Hi Ruth,

thanks for the quick response. I've tried all kinds of possibilities, but with no result.
So i think I'll have to get the 'official' support.

Grtz,
Arthur

Post Reply