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
    New Coder
    Join Date
    Oct 2012
    Location
    Melbourne, Australia.
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question CSS Custom Image Width Not Working on Page Load

    Hi,

    I have a custom image width using CSS. My problem is that the default image file width loads on the page ? I have to mouseover image to get the custom width to fire. (note there is an image resize (110%) javascript function also present for the image).

    How do I get the css custom image width straight away on page load?

    Thanks.

  • #2
    Regular Coder LearningCoder's Avatar
    Join Date
    Jan 2011
    Location
    The Pleiades
    Posts
    924
    Thanks
    76
    Thanked 29 Times in 29 Posts
    Can you provide the code you have?

    Are you using the body's onload attribute at all?

    Regards,

    LC.


  •  

    Posting Permissions

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