boylesg Posted January 5, 2015 Share Posted January 5, 2015 I have this page source: <img class="CategoryImage" alt="BushTucker.jpg" src="images/BushTucker.jpg" /><img class="CategoryImage" alt="LilyIrisLike.jpg" src="images/LilyIrisLike.jpg" /><img class="CategoryImage" alt="SmallPlants.jpg" src="images/SmallPlants.jpg" /><img class="CategoryImage" alt="Climbers.jpg" src="images/Climbers.jpg" /><img class="CategoryImage" alt="Fern.jpg" src="images/Fern.jpg" /><img class="CategoryImage" alt="GroundCover.jpg" src="images/GroundCover.jpg" /><img class="CategoryImage" alt="AquaticHerbs.jpg" src="images/AquaticHerbs.jpg" /><img class="CategoryImage" alt="AquaticReedRush.jpg" src="images/AquaticReedRush.jpg" /><img class="CategoryImage" alt="Grasses.jpg" src="images/Grasses.jpg" /><img class="CategoryImage" alt="GrassLike.jpg" src="images/GrassLike.jpg" /><img class="CategoryImage" alt="SmallShrubs.jpg" src="images/SmallShrubs.jpg" /><img class="CategoryImage" alt="MediumShrubs.jpg" src="images/MediumShrubs.jpg" /><img class="CategoryImage" alt="LargeShrubs.jpg" src="images/LargeShrubs.jpg" /><img class="CategoryImage" alt="SmallTrees.jpg" src="images/SmallTrees.jpg" /><img class="CategoryImage" alt="MediumTrees.jpg" src="images/MediumTrees.jpg" /><img class="CategoryImage" alt="LargeTrees.jpg" src="images/LargeTrees.jpg" /><img class="CategoryImage" alt="LawnSeed.jpg" src="images/LawnSeed.jpg" /><img class="CategoryImage" alt="NestBoxes.jpg" src="images/NestBoxes.jpg" /> And class "CategoryImage" is defined in style.css as: .CategoryImage{/* behavior: url(CSSPie/PIE.htc); border-radius:20px; display:block; margin:auto auto auto auto; line-height:100px; vertical-align:middle;*/ border-style:solid; border-width:thick; border-color:red; } Can any body give me some clue as to why this wont work? Link to comment Share on other sites More sharing options...
davej Posted January 5, 2015 Share Posted January 5, 2015 It might be helpful to create a small example file which exhibits the problem. This seemed to work... <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><title>Bushland Recovery</title><style> .CategoryImage{/* behavior: url(CSSPie/PIE.htc);*/ border-radius:20px; display:block; margin:auto auto auto auto; line-height:100px; vertical-align:middle;border-style:solid;border-width:thick;border-color:red;}</style></head><body><img class="CategoryImage" alt="BushTucker.jpg" src="http://www.dvdwarehouse.com.au/images/P/p_20298.jpg" /><img class="CategoryImage" alt="LilyIrisLike.jpg" src="https://d1hx9rksjosdct.cloudfront.net/bouquets/5l5hdrmcdqy-1003.png-static.png-detail300.jpg" /><img class="CategoryImage" alt="SmallPlants.jpg" src="http://www.ikea.com/us/en/images/products/fejka-artificial-potted-plant__0136211_PE293491_S4.JPG" /><a href="http://css3pie.com/about/">IE</a></body></html> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now