Click here to Skip to main content
12,755,080 members (42,039 online)
Rate this:
Please Sign up or sign in to vote.
i am working on a project in, 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 2:04am
Mathlab 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
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

Rate this: bad
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'.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100