Results 1 to 3 of 3

Thread: Controling Image Scale with CSS

  1. #1

    Controling Image Scale with CSS

    Hrm dunno if this is possible but thought would ask see if anyone knows more about it - i have a series of images on website which i want to reduce in size on mouse over

    eg : image starts of at 50x50 on mouse over reduces to 30x30 on mouse out goes back to 50x50

    is there anyway this can be done through css etc?

    v_Ln

  2. #2
    AO French Antique News Whore
    Join Date
    Aug 2001
    Posts
    2,126
    Take a look at this if you need a plan B. It's done via Javascript..

    http://www.codefoot.com/javascript/s...ge_resize.html
    -Simon \"SDK\"

  3. #3
    Senior Member
    Join Date
    Jan 2002
    Posts
    1,207
    It's a really bad idea to change the size of things in :hover CSS styles.

    This is because it affects the page layout, and can cause things to move about dramatically. This not only looks bad, but can also cause "oscillation" effects, where the mouse moves over an item, which causes it to move somewhere else.

    Slarty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •