If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2011
    Member #
    Ive been trying to have this code enlarge an image when I roll over it but I cant get it to not push down the image below it when the picture above it is rolled over and enlarged, also I wanted to have the pictured that gets enlarged to go over any other content around it without disturbing it.

    Tried a number of ways for about 3 hours now but just cant get it right.

    <style type="text/css">
    height: auto;
    width: auto;
    position: absolute;
    div.img a:hover img {
    width: 420px;
    height: 350px;
    position: relative;
    <div class="img">
    <a target="_blank" href="klematis2_big.htm">
    <img src="" alt="Klematis" width="110" height="90" 
    <div class="img">
    <a target="_blank" href="klematis2_big.htm">
    <img src="" alt="Klematis" width="110" height="90" 


  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2784 times
    1) You haven't closed your img or your a tags.

    2) You have a </div> tag without a corresponding <div> tag.

    Not sure if either of those is your problem, but I'd start there.

    If that doesn't work, I'd suggest modifying the code from a two-tiered DHTML menu to get what you want.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 10:49 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: