Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Assigned] Several div in the same line in layout

$
0
0

Dear Pat,

Do you mean HTML div elements or Layout cells?

HTML divs are block elements, which means they will always take all available width and any element after that will be pushed below.

To change this behavior, you need to set the width of the div and also give it a float value:

.my-div {
 width: 200px;
  float: left;
}

Then you will have to remember to use a clear:left or clear:both element after that so everything gets displayed correctly.

In case you were referring to Layouts cells, please attach a screenshot of the issue and also test with latest beta release.

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

Regards,
Paweł


Viewing all articles
Browse latest Browse all 20145

Trending Articles