Please go to http://www.woodstone-homes.com/gallery/test.asp for a live test page.
Big Moxy wrote: > url - http://missioninternet.com/test/ > > I'm making changes to a site that I did not develop. It uses tables > extensively and some CSS. The vbscript code below displays up to 7 > thumbnails in one table cell. The row above the thumbnails displays a > larger image of the first thumbnail by default (see url). One of the > changes is to add a border to the currently selected thumbnail. Except > for the initial display I have it working. The problem is that after > selecting a thumbnail the margin between images increases and > overflows the width of the cell. > > The gallerpic class had already been defined and is shown as is on the > url. I added .gallerypic img and the .gallerypicSelected class. > I thought about putting the thumbnails into a <ul> but then I don't > know how to define the wrapper div. I'm open to any and all ideas!! > > Thanks, > Tim > > > <td width="400" height="42" align="center"> > <% > While ((Repeat2__numRows <> 0) AND (NOT Recordset4.EOF)) > %> > <a > href="/gallery/gallery2.asp?galleryID=<%=(Recordset4.Fields.Item("galleryID").Value)%>" > > target="iframevideo" onclick="changeCls(this)"><img > src="/images/uploads/<%=(Recordset4.Fields.Item("picturethumb").Value)%>" > alt="" class="gallerypic"></a> > <% > Repeat2__index=Repeat2__index+1 > Repeat2__numRows=Repeat2__numRows-1 > Recordset4.MoveNext() > Wend > %> > </td> > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/