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!
image border class
image border class
You do not have the required permissions to view the files attached to this post.
Re: image border class
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
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
Re: image border class
Ahhh, yes, you are correct. I added the div tag to my stylesheet, and it worked.
Thanks.
Code: Select all
div.MCKLinkBody img
{
border-style: none;
}
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