Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

draw a border around cells (Bootstrap)

Please look at http://www.rkassoc.org/Lakos_MFC/job_info.php. This is close to what I want the page to look like.

But I want a border around certain items.

Please look at http://www.rkassoc.org/Lakos_MFC/job_info1.php. Notice the blue borders are all screwed up. View source & look at css class container & how it is applied. How can I make this work correctly?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Tom Beck
Tom Beck
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Why have you added extra container divs at lines 124 and 342?
Well, it seems that you were using the container class in the two divs. Removing these classes fixed the layout.
Hi,

First I would recommend to use Bootstrap FORM class this will help you to have a better layout and you will use the correct syntax and class for each item (drop down, input)
that will be a lot easier...
Ref: http://getbootstrap.com/css/#forms-horizontal

The Bootstrap div col- should give a result of 12 total and some are 11 this need to be fixed otherwise you will have unwanted overlaps.

To have a border you can use panel css
<div class="container">
  <div class="panel panel-default">
    <div class="panel-body">Form code here</div>
  </div>
</div>

Open in new window