Image fadein question

Hi all,

I have set my sprite on this page http://www.kylehouston.com/portfolio.html to fade in, my problem is when the page loads the images appear and then they fade in, how can i set them to fade in without showing them first of all?

Thanks in advance

Kyle

In the head, put some small amount of javascript that will dynamically add css styles that will be used when the client supports javascript. You can put a style in there that will hide stuff. That way they will be hidden until later when you start your animation.

The reason for using javascript to add these styles is so that users without javascript still get to see things.

Hey Crmalibu, thanks for your reply, think I know what your talking about, will give it a go. do you mean adding visibility: hidden or something like that?

That would be one way. Basically, make it something that you feel is more suitable for the user to see in the meantime.