By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

anyway to know the dimensions of the children inside <div>

P: n/a
let's say i have codes like this:
<form>
<div>
<input type="text" name="in1" size="10">
<input type="text" name="in2" size="100">
<!-- more inputs -->
</div>
<form>

can javascript calculate (and even re-arrange) how these "input"s (or
any other elements) locate?

Jan 30 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
al*********@yahoo.com wrote:
let's say i have codes like this:
<form>
<div>
<input type="text" name="in1" size="10">
<input type="text" name="in2" size="100">
<!-- more inputs -->
</div>
<form>

can javascript calculate (and even re-arrange) how these "input"s (or
any other elements) locate?


Yes. You will need to learn a bit about CSS positioning and
manipulating it via the DOM.

Jan 30 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.