Zen Follower
- Join Date:
- Oct 2007
- Location:
- Kentucky - USA
- Posts:
- 425
- Plugin Contributions:
- 0
How do I put border on some images and no border on others?
This is my current setup. I have no borders on any image.
In my tpl_main_page.php I have the following code:
<a href="/"><img src="includes/templates/Series_12_Horses/images/spacer.gif" alt="Home Page" title="Home Page" width="150" height="44" border="0" /></a>
```You will note that I stipulate that the border =”0”
(Also there are additional "spacer.gif " images calls in tpl_main_page.php that complete a clickable menu bar at the top of the page.)
In my stylesheet.css I have the following code:
a img {border: none; }
a img {border: 2px solid #34352F; }
I am not able to correct this. Is there a way I can specify that my spacer.gif image does not get the img border that I specify in my css?
Sawhorse
Below are the particulars for my site.
ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com