User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,805 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,454 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1555 | Replies: 2
Reply
Join Date: Aug 2006
Posts: 999
Reputation: EnderX is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
EnderX EnderX is offline Offline
Posting Shark

Side-by-side forms?

  #1  
Oct 20th, 2006
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2006
Location: New Jersey
Posts: 1,422
Reputation: stymiee is on a distinguished road 
Rep Power: 5
Solved Threads: 34
Moderator
Staff Writer
stymiee's Avatar
stymiee stymiee is offline Offline
He's No Good To Me Dead

Re: Side-by-side forms?

  #2  
Oct 20th, 2006
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!
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Side-by-side forms?

  #3  
Oct 20th, 2006
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 5:28 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC