Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts

    animated gif resizing itself in FF

    OK, I am using an animated gif for the first time in years. I am presenting it in the page with the code below. it is 375px high and 300 px wide. when shown in the browser, it scales to 350px x 233px;

    is the code correct or should it be something else?

    Code:
    <img class="animated_right" src='http://domain.com/folder/117/animated_gifs/castellano.gif'>
    Edit:
    git it. I had another pit of css which was generic to the img tag and it was over-riding the speciifc values. I'll swao their order about and see what happens.

    bazz
    Last edited by bazz; 05-13-2009 at 08:26 PM.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,478
    Thanks
    6
    Thanked 981 Times in 954 Posts
    Donít forget to apply an alt attribute to the image (even if its value is gonna be empty), itís mandatory.


  •  

    Posting Permissions

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