I have two images.
One is the background.
The second image is the arrow head.
You can see it below,
How to make the arrow head image stays on the bottom right corner of the background image?,
When applying the responsive feature of CSS3?
When I minimize the Internet Browser…?
When you say “one is the background”, are you talking about a CSS background-image or are you referring to a foreground image that is in back of the arrow?
How much area is covered by the “background” image? Does it cover the full page or is it within a container somewhere on the page?.. do you have several of these images and you want an arrow in the bottom right corner of each one?
What determines the height of the “background” image on the page? Foreground images are relatively easy; background-images have no substance… they are like a background-color. We need to know how the size of that image’s container needs to be defined.
In other words, we need more information to understand what you want.
The picture is good, but it doesn’t include the edges of the browser so we can’t tell how much of the page it fills.
you have the LI set to width 216px, but the image to 200px, leaving a bit of an unsightly gap around the boxes. Better to keep the LI width to 200px and use margins if you want spacing.
to set the arrow image to the bottom right corner, just do this:
From IE9 onward it’s a pretty reliable browser in terms of CSS … unless you are trying to do something overly fancy, perhaps. This shouldn’t be something IE would have a problem with.
Warren, because I cannot seem to understand the problem, I want you to try this simplified code and tell me if it works.
Copy this code to a file without changing anything, open it in your browsers and let us know what you see in IE10 and whatever else you have.
@ronpat ;
Thanks dude, I have no problem with the jsfiddle version.
It is the actual/live site I’m having problem with the arrow head.
This is what I see in my MSIE ver. 10.
As you can see the arrowhead overlapped.
I don’t know why, it works fine on Google Chrome.
Firefox is the same as your drawing and its because you are scaling the image with max-width but the parent of the image is an inline-block which has no real width so doesn’t get applied in some browsers. I would guess that Chrome is the wrong one here.
Set the anchor to display:block and the max-width should take effect.