Grid Sytem Bootstrap

Asked

Viewed 194 times

1

1 answer

1

Did you import the CSS files from Bootstrap? (I couldn’t find it in your example)

Twitter Bootstrap works with a CSS that contains a collection of classes and mixins to aid development.

If you still don’t know how to use it, just import the file bootstrap.min.css and bootstrap.min.js in your HTML so that all components work perfectly. These are found for download on the tool’s own website: getbootstrap.com

  • Yes @Diego Lopes Lima, imported as follows. <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">

  • @Franckcosta Is pointing to the correct location of the style sheet?

  • If you are testing directly in jsFiddle the explanation for breaking line may be just the size of the frame on which the script is running. I just edited your script and when I crave the size of the result frame it behaves perfectly. http://jsfiddle.net/ghpVa/3/ &#Xa.

  • @Diego Lopes Lima I’m using locally, I’m not using Jsfiddle to test Bootstrap.

  • There really isn’t why it doesn’t work then. In this example that I edited is working perfectly, I believe that it could only give some error if the import of the files returns error 404, or permission to read the file...

  • @Laerte these are the paths of my files. Pasta Raiz: C:\Users\inhome\Desktop\IE\testBoot, index: C:\Users\inhome\Desktop\IE\testBoot\index.html, BoostStrap: C:\Users\inhome\Desktop\IE\testBoot\bootstrap, href: <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">, When adding the class container it assigns the margin as explained in the documentation, however, does not change anything when placing row and then as a son col-md-?

  • What is the pixel width of your monitor?

  • @Diego Lopes Lima 1280X1024,this is the resolution.

  • I can’t say for sure, but if your viewport is 992px wide or less, Bootstrap breaks the columns from this width. You can check?

  • @Diegolopeslima I will check and I will answer you, if the information is useful, when using the class="span6", he leaves one side of the other.

  • 1

    So I know, you are probably using version 2 of Bootstrap, download version 3 (the most current), because some classes were changed in this version.

  • 1

    If you want to continue with version 2, please use this documentation: http://getbootstrap.com/2.3.2/

  • @Diegolopeslima now worked, was the version problem even, now this side by side, I am very grateful for the help of all.

Show 8 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.