Hey all this is my first post here and I am reasonably new to the world of CSS. I have 2 pieces of code
.subCatImg.subCatImg
{
float:none;
}
Which controls one specific image, and this piece of code which controls several other objects:
img.StoreProductImage {
float:left;
padding-right:5px;
margin:0px 5% 10px 5px;
}
For some reason even though .subCatImg has higher specificity it's float continues to be overridden by img.StoreProductImage - I assume it is because it is float:none and therefore is overridden by left however even adding clear:both continues to default to float:left. Any thoughts?
I should also add - if I change float:none to right or left it does work