| | |
Side-by-side forms?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2006
Posts: 999
Reputation:
Solved Threads: 1
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
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
Use FLOAT to float one form to the left and the other to the right.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
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.
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.
•
•
Join Date: Oct 2008
Posts: 1
Reputation:
Solved Threads: 0
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>
<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>
![]() |
Similar Threads
- How Do I Place Two Banners side by side? (PHP)
- difference between memory w/black chips on one side and both sides? (Motherboards, CPUs and RAM)
- div comes vertical when i need it horizontal sideby side as columns (HTML and CSS)
- Side by side windows in Internet Explorer (Web Browsers)
Other Threads in the HTML and CSS Forum
- Previous Thread: Alt Labels on text
- Next Thread: Using vbscript within a css page
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






