Link to home
Start Free TrialLog in
Avatar of sharingsunshine
sharingsunshineFlag for United States of America

asked on

Img Class Problem

I am trying to get an image sized through an external stylesheet.  However, when I use the class I built on a page served up by the php shopping cart it seems to ignore the css rules.

I am not able to use my normal tools to see where the conflict might be.  Please help me to get the image to size normally.

img.productlabel {
width:550px;
height:198px;
}

Open in new window


<img src="/Resources/labels/1606.jpg" class="productlabel" alt="Product Label" />

Open in new window


You can see an example of the label I am trying to size at
http://www.theherbsplace.com/Vitamin_C_Ascorbates_p_549.html

Please help me to get this to honor the size rules via CSS.

Thanks,

Randal
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
try

img.productlabel {
width:550px !important;
height:198px !important;
}
Also I dont see a class productlabel  for that image!!
Avatar of sharingsunshine

ASKER

the magiczoom seems to be stripping out the classes.  So, when I styled the MagicZoom like garyc123 suggested it works great.

Thanks,
thanks for the help.
Glad to know you found the solution :)

Kiranvj
Thanks that's very nice of you to comment.