border on thumbnails?

Nov 2, 2010 at 4:47 PM

how do i set a border on my thumbnails?

Coordinator
Nov 3, 2010 at 3:34 PM

You can either alter the ShowGallery.ascx file or do it with css.

Nov 3, 2010 at 3:50 PM

i see in the ShowGallery.ascx file there is a div id="diGallery", so if i add that div id into my .css file it alters the entire group of thumbnails, how do i alter each thumbnail individually? i want a small border around each of my thumbnail images.

for example, if i add this into my .css:

#diGallery
{
border-style:solid;
border-color:#ff0000;
}

i get a red border around the entire group of thumbnails. can you please be a little more specific on how to get a border around the individual thumbnail images? sorry for the confusion. TIA! ;)

Nov 3, 2010 at 3:55 PM

ok, i think i figured it out! ;) you need to add a <div id="name"> before the image code, like this:


        <div id="diGallery"><asp:HyperLink ID="hlImage" runat="server"><asp:Image ID="img" runat="server" /></asp:HyperLink></div>

:) yay! thanks for the help!