Avatar of sharingsunshine
sharingsunshine
Flag 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
CSSHTML

Avatar of undefined
Last Comment
sharingsunshine

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Gary

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Kiran Paul VJ

try

img.productlabel {
width:550px !important;
height:198px !important;
}
Kiran Paul VJ

Also I dont see a class productlabel  for that image!!
sharingsunshine

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

Thanks,
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
sharingsunshine

ASKER
thanks for the help.
Kiran Paul VJ

Glad to know you found the solution :)

Kiranvj
sharingsunshine

ASKER
Thanks that's very nice of you to comment.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.