943,964 Members | Top Members by Rank

Ad:
Oct 20th, 2006
0

Side-by-side forms?

Expand Post »
I'm having to redesign a web-based data-entry page; as I had the original set up, it would have caused a high degree of duplicated information in the database I am working with.

The original design called for a single form, in which a given set of data would be specified. However, the data in question came in a three-level 'pack' structure, such that an item on L1 could be associated with one or more items on L2, and items on L2 could be associated with zero or more items on L3. As a result, I was requested to redesign the page layout with multiple forms, so that making a change to an item on L2 or L3 wouldn't require having to fill the entire form for everything.

This is more a question of aesthetics than anything else; I can create the forms in question with no problem, but the L2 and L3 forms require only a few small bits of information attached to them. As a result, they're long (crossing the width of the screen at my current resolution) and thin (only two rows thick). I was hoping to find some way to reposition the beginning/ending points of the tables on the screen, so as to place the L2 and L3 forms next to each other instead of having one of them on top of the other one.

Or in other words, this is what I currently have,

http://www.freewebs.com/enderx/Ephemera/Form%5FSet.PNG

and this is what I'm hoping to end up with:

http://www.freewebs.com/enderx/Ephem...rm%20Align.PNG

Is what I'm requesting possible, and if so, would someone please show me how to do this?

Thanks in advance,
-EnderX
Similar Threads
Reputation Points: 483
Solved Threads: 1
Posting Shark
EnderX is offline Offline
999 posts
since Aug 2006
Oct 20th, 2006
0

Re: Side-by-side forms?

Use FLOAT to float one form to the left and the other to the right.
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Oct 20th, 2006
0

Re: Side-by-side forms?

I can see you put work into your visual examples, but I'm having a hard time figuring out what they mean.

However, stymiee has given you the proper starting point. First, place each of your form "blocks" into a "div" element, so that the page is organized well structurally.

Then, you can use CSS to position the forms relative to the page and each other. The "float" property is important to understand.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Oct 29th, 2008
0

Re: Side-by-side forms?

I think what you are looking for is actually looking for something more like this. I have have no idea if it is blah blah blah compliant but it works in IE7 and FF 3.0.3.

<form action="" method="post" style="display:inline;"><input name="Submit" type="submit" value="Remove Comment"></form> <form action="" method="post" style="display:inline;"><input name="Submit" type="submit" value="Disregard Report"></form>
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dsrtprwlr is offline Offline
1 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Alt Labels on text
Next Thread in HTML and CSS Forum Timeline: Using vbscript within a css page





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC