Divide div tag to 3 rows

Experts Exchange connects you with the people and services you need so you can get back to work.

div class=col-lg-12div class=col-sm-4/divdiv class=col-sm-4/divdiv class=col-sm-4/div/d

If you want to have three different rows within the div, you can use what Lisa has suggested, but rather add three col-md-12 inside of a div.

div class=rowdiv class=col-md-12Column 1 – full width, represents a row/divdiv class=col-md-12Column 2 – full width, represents a row/divdiv class=col-md-12Column 3 – full width, represents a row/div/div

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

But you have used class=col-md-12 ,i think it is from bootstrap, i dont use bootstrap.

I use DW CC 2015 , and i found it has some bootstrap components like Container,can i use it as div?

You can call them any way you want.

div class=rowdiv class=column-full-widthColumn 1 – full width, represents a row/divdiv class=column-full-widthColumn 2 – full width, represents a row/divdiv class=column-full-widthColumn 3 – full width, represents a row/div/div

The point is to add a CSS statement that would make that class 100% width of the row, so that they would stack

htmlheadstyle-webkit-column-width: 100%; /* Chrome, Safari, Opera */-moz-column-width: 100%; /* Firefox */column-width: 100%;width:100%;margin-bottom:15background:e1e1e1/style/headbodydiv class=column-full-widthLorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius./divdiv class=column-full-widthLorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius./divdiv class=column-full-widthLorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius./div/body/html

Thanks, Branislav Borojevic, but these are 3 separate div where is their container ( div class=row)?

My bad, just put them inside a div and that should do it.

I omitted thediv class=rowaccidentally. Just wrap these divisions within another div and you should be good to go. Also, add CSS width to thatrowclass.0Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when youask a related question.

We will never share this with anyone.Privacy Policy

By clicking you agree to theTerms of UseandPrivacy Policy.

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.