Border Around Homepage Photo

pabloconradpabloconrad Registered Users Posts: 97 Big grins
edited February 19, 2014 in SmugMug Customization
Yodels.

Ok. So for my Homepage, I have a single photo I swap out every few days.

I used a HTML/CSS block and in the HTML space, I have the coding for my image which includes an <a href=> tag that clicks to the gallery the image is in.

Sample Code:
<h4><span class="myFontColorText"><b><u>For The Blues:</u></b></span> Blues guitarist Jill Newman of Vancouver, B.C., at Gasworks Park in Seattle, Wash. for her new album. </h4>
<br />
<a href="http://www.paulconrad.photography/Portfolio/Personalities/i-PK5QmJK&quot; title="© Paul Conrad/Pablo Conrad Photography - One in a series of portraits of Blues guitarist Jill Newman at Gasworks Park in Seattle, Wash., for her new album."><img src="http://www.pabloconradphotography.com/Portfolio/Personalities/i-PK5QmJK/0/L/JillNewman-Gasworks-01-A-L.jpg&quot; title="© Paul Conrad/Pablo Conrad Photography - One in a series portraits of Blues guitarist Jill Newman at Gasworks Park in Seattle, Wash., for her new album." alt="© Paul Conrad/Pablo Conrad Photography - One in a series portraits of Blues guitarist Jill Newman at Gasworks Park in Seattle, Wash., for her new album." width="960px"></a>
As I like to have a thin 1px white border, I USED to be able to use the "border="1 px" attribute. But that does not work, and I'm guessing, because of the new Smug coding.

So, in the CSS side of the block, I added:
/**Non-Gallery Image Borders**/
img {
border: 1px solid #FFFFFF;
}

It seems to work when I'm in preview, but as soon as I go to publish, the white border around the photo disappears.

Anyhelp would be appreciated.
Paul Conrad
Photojournalist
Pablo Conrad Photography
Seattle, WA, USA
c: 206-450-8632

Comments

Sign In or Register to comment.