This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » CSS » enlarge image in new window
Reply

enlarge image in new window

cyndie lasher
Member



Since: 23 Aug 2007
Posts: 3
Posted 26 Sep 2008 19:13:42

I have created a table that holds 3 thumbnail images across the web page.
I then added the following CSS code so that when you move the mouse on the thumbnail it enlarges the image so you can see more detail.
It works great in Firefox and shifts the remaining thumbnails to the right of the enlarged picture. The problem is in Internet Explorer. It does not shift the thumbnails enough to the right so the small thumbnail lays on top of the enlarged image.
Here is the CSS I am using:

.growleft:hover {float: left;}
a.growleft:hover img {height: 190px;}
.grow:hover {}
a.grow:hover img {height: 190px;}

Here is the table structure I am using:

<TABLE><TR>
<TD><a href="./11752/29222.html" class="growleft"><IMG height=80 hspace=15 src="media/roomadd8.jpg" align=left vspace=1 border="1" alt="Room Addition"></a></TD>
<TD><a href="./11752/29222.html" class="growleft"><img height=80 hspace=15 src="media/roomadd9.jpg" align=left vspace=1 border="1" alt="Florida Room with Deck"></a></TD>
<TD><a href="./11752/29222.html" class="growleft"><img height="80" hspace=15 src="media/roomadd2.jpg" align=left vspace=1 border="1" alt="Florida Room"></a></TD></TR>
</TABLE>

Is there a hack for this or is it in my code somewhere? I have tried various things such as align=center etc but nothing works so far.

Any help would be appreciated.

Vienie

I have created a table that holds 3 thumbnail images across the web page.
I then added the following CSS code so that when you move the mouse on the thumbnail it enlarges the image so you can see more detail.
It works great in Firefox and shifts the remaining thumbnails to the right of the enlarged picture. The problem is in Internet Explorer. It does not shift the thumbnails enough to the right so the small thumbnail lays on top of the enlarged image.
Here is the CSS I am using:

.growleft:hover {float: left;}
a.growleft:hover img {height: 190px;}
.grow:hover {}
a.grow:hover img {height: 190px;}

Here is the table structure I am using:

<TABLE><TR>
<TD><a href="./11752/29222.html" class="growleft"><IMG height=80 hspace=15 src="media/roomadd8.jpg" align=left vspace=1 border="1" alt="Room Addition"></a></TD>
<TD><a href="./11752/29222.html" class="growleft"><img height=80 hspace=15 src="media/roomadd9.jpg" align=left vspace=1 border="1" alt="Florida Room with Deck"></a></TD>
<TD><a href="./11752/29222.html" class="growleft"><img height="80" hspace=15 src="media/roomadd2.jpg" align=left vspace=1 border="1" alt="Florida Room"></a></TD></TR>
</TABLE>

Is there a hack for this or is it in my code somewhere? I have tried various things such as align=center etc but nothing works so far.

Any help would be appreciated.

Vienie

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency