Click to See Complete Forum and Search --> : Moving Image control in ASp.NET


y2kneni
January 21st, 2008, 11:53 PM
Hi,
I am new asp.net developer. I am trying to develop a
game
which has to be opened in the browser. There is a car
in the game which moves on every clock tick. I have
got the timer control working. But i am unable move
the car(image control) as it doesnot contain the
location attribute.
Could you tell me how to solve the problem
Thanking you
Yatish

Yeorwned
January 23rd, 2008, 12:29 PM
How are you rendering this? Pure HTML? If so, use CSS to move the image by applying a style to it and your script will change the style information.

http://css.maxdesign.com.au/floatutorial/