I want to design a fluid two-column form with BootStrap. What is the best way to tackle this? Do I start with a fluid container and two columns, and then fit a vertical form in each of them? Or is there a better alternative?
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Recommended Answers
Jump to PostA fluid container with two columns is the way I would proceed.
If you want to play around with BS3 forms before you begin check these out:
A form builder:
http://bootsnipp.com/forms?version=3Some useful …
Jump to PostThe example uses a horizontal form, but that's not what I want. The first column are personal details, the second company details. They can't flow like the example.
<form> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <div class="input-group"> <span class="input-group-addon">@</span> <input runat="server" class="form-control" ... /> </div> …
Jump to PostOooooo funky - can you change the tag from a div to a span please? And in the good spirit of not stealing content on the web, I'm currently reading through this: https://github.com/plataformatec/simple_form/wiki/How-to-use-Bootstrap-3-input-group-in-Simple-Form …
Jump to PostSorry for the lack of clarity.
Change this:
<div class="input-group-addon">@</div>
to this:
<span class="input-group-addon">@</span>
I'm wondering if it's a style on the division tag that's causing the issue.
All 13 Replies
mmcdonald
28
Posting Pro
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
mmcdonald
28
Posting Pro
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
mmcdonald
28
Posting Pro
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
mmcdonald
28
Posting Pro
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
mmcdonald
28
Posting Pro
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
mmcdonald
28
Posting Pro
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.