Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET HTML HTML5/CSS
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 16-Nov-12 1:04am
Ash29465
Comments
Mathlab at 16-Nov-12 8:39am
   
How are you getting the coordinates of the image? have you dont your change size function already?
Ash29 at 16-Nov-12 8:43am
   
Hi,
I am taking user entered CSS values for height and width.
Ash29 at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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'.
  Permalink  

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



Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid