KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Just started playing around with bootstrap 3 and I can't get gutters between columns to work. I created the most basic code to test with: <!DOCTYPE html> <html lang="en"> <head> <title>Test</title> <script src="http://code.jquery.com/jquery.js"></script> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js"> </script> <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css" rel="stylesheet" media="screen" /> <style> .box1 { background-color: green; } .box2 { background-color: blue; } </style> </head> <div class="container"> <div class="row"> <div class="col-lg-4 box1"> <h1>Test</h1> </div> <div class="col-lg-8 box2"> <h1>Test2</h1> </div> </div> </div> </html> And the result is just one big green/blue box without any gutter in between the two columns. I have also tried it on a fiddle with no luck http://jsfiddle.net/Tgkkb/ What am I missing?
Tags (comma-separated)
Save Edits
Cancel