You have a confusion of styles. Working from the innermost (the image) you have:
Code:
.ta_MoreInfoButton img {
width: 32px;
height: 32px;
position: relative;
top: 12px;
}
That sets it relative. It is contained by a division with no id and a class of
ta_MoreInfoButton, which gives it these styles:
Code:
.ta_MoreInfoButton {
width: 90px;
height: 32px;
position: absolute;
bottom: 0px;
right: 0px;
color: #754324;
font-size: 12px;
}
But that division also happens to be a division within the division with the class of ta_HomepageBox, which selects it with this rule:
Code:
.ta_HomepageBox div {
position: relative;
}
Now, as far as I recall, nested selectors take precedence over class selectors, so the net effect would be that both the image and its container are relatively positioned (what I think you are already telling us).
If you go up one more level, the next container is a division that is positioned relative. The one above that is static (no positioning specified), as is the next parent.
If you want more precise control, give the element you wish to affect an id, and select it by that id within any other nested selector that may already apply to it.
So to make sure that the .ta_MoreInfoButton div around that image is absolute, give it a unique id - say, 'bob' and refer to it like so:
Code:
.ta_HomepageBox div#bob {
position: absolute!important;
}
It would probably be easier and better to redo the page and/or the css. Try not to set up potentially conflicting selectors. Only use inheritance where it will benefit you without confusion, set unique selectors (id) for special items.
Bookmarks