Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Introduction to HTML and CSS (2016) Make It Beautiful With CSS Select and Style by Element

Columns

how can i create a columns in webpage without using bootstrap thanks in advance

1 Answer

Robert Gouveia
PLUS
Robert Gouveia
Courses Plus Student 1,714 Points

Bootstrap is just a framework.

Its basically js and css.

If you are looking to create html columns I suggest looking at the html courses that are offered here.

Are you looking at tabled columns? sidebar columns? general html columns?

Here is a column based on a sidebar and you can kind of do the same in html but instead of using aside and section you just use div:

<style>
.container{
max-width:1200px;
margin:0px auto;
}
.main{
width:70%;
}
.sidebar{
width:30%;
}
</style>
<div class="container">
<section class="main"></section>
<aside class="sidebar"></aside>
</div>

Hope this helps

Thanks for your help man. I will try your codes later have a nice day ahead and God bless.