Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i am working on a project in asp.net, dealing with placing objects in a DIV and showing them like a graph of x and y axis.
How do I accomplish this?
The reason behind asking the question is, the image root dimension starts from 0,0 on the upper left side.
How do I revert this?
because the image that i want to show is for a room wall which should be shown from bottom-up side.Considering an object with some height is placed on the bottom floor.
Kindly Help!!!!!
Posted
Comments
[no name] 16-Nov-12 8:39am    
How are you getting the coordinates of the image? have you dont your change size function already?
Ash29 16-Nov-12 8:43am    
Hi,
I am taking user entered CSS values for height and width.
Ash29 16-Nov-12 8:44am    
and generating page at runtime on button click.
so that image gets generated based on height and width
now alongside if i have to place another image div then how do i do that
with the same button click

1 solution

You use CSS to align the image so that it is aligned to the bottom, and thus grows upwards. Of course it can only grow 'upwards' if you have whitespace for it to grow in to, otherwise it has to grow 'down'.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900