image border class

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

image border class

Post by Ineffable »

I have a border attached to my img tag. I also have a no_border class img tag that I apply to, obviously, images that I don't want a border around. 99% of my images have borders around them--I have about 1,000 images.

However, I am now having an aesthetic issue in that the little close buttons (with a 'X') on my Related Items dropdown is, by default, using the img tag, which isn't surprising. However, I want the border gone. How do I go about applying the no_border img class I created to this image?

As you can see, the image in the background has the no_border img tag applied to it.

Thanks!
You do not have the required permissions to view the files attached to this post.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: image border class

Post by NorthEast »

I think you've asked this one before, but I don't know if you read the response I posted at the time. If you've set a border for your img style (and aren't using img classes), then you could set up a separate style definition for images when they're used inside those boxes, so that they don't have a border.
See.. http://forums.madcapsoftware.com/viewto ... 149#p48077

However, note that the actual close image itself has a black border around it. I don't think you can actually replace it in the skin, so you'd need to edit the image used by Flare, here:
C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\WebHelp\Default.flwht\Images\CloseButton.gif
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Re: image border class

Post by Ineffable »

Ahhh, yes, you are correct. I added the div tag to my stylesheet, and it worked.

Code: Select all

div.MCKLinkBody img
{
   border-style: none;
}
Thanks.
Dave Lee wrote:I think you've asked this one before, but I don't know if you read the response I posted at the time. If you've set a border for your img style (and aren't using img classes), then you could set up a separate style definition for images when they're used inside those boxes, so that they don't have a border.
See.. http://forums.madcapsoftware.com/viewto ... 149#p48077

However, note that the actual close image itself has a black border around it. I don't think you can actually replace it in the skin, so you'd need to edit the image used by Flare, here:
C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\WebHelp\Default.flwht\Images\CloseButton.gif
Post Reply