<div class="snippet">
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({portalId: "4801849",formId: "b021b49f-c504-4b1d-ad2b-1bb9e587287c"});
</script>
</div>
<div class="location">
<strong>Our Locations</strong>
<p>Mumbai</p>
<p>Inventrom Private Limited, Unit no. B 32-A, B-wing, 2nd Floor, Raj Industrial Complex, Military Road, Marol, Andheri East, Mumbai, Maharashtra-400059</p>
<p>Goa</p>
<p>Inventrom Private Limited, 10, Gaspar Apartment, behind Suzuki showroom, Panjim, Goa-403001, Near People's High School</p>
<p></p>
<strong>Contact Us</strong>
<p>79, 11th Cross Rd, Binnamangala Indiranagar, Bengaluru, Karnataka-560038, India</p>
<p>(+91) 8881197198</p>
<p>contactus@boltiot.com</p>
</div>
Asked
Active
Viewed 58 times
-1

K F Azmath Ulla
- 11
- 1
-
2CSS float, flex, grid are three options – Bravo Jul 31 '21 at 11:21
-
This is a duplicate of many, many, many questions on Stack Overflow. Please indicate which ones you've tried and how they didn't work for you. – Heretic Monkey Jul 31 '21 at 11:24
2 Answers
0
There are several ways to achieve this. One of the simplest ones is to use a flex
wrapper.
<div class="wrapper">
<div class="snippet">
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({portalId: "4801849",formId: "b021b49f-c504-4b1d-ad2b-1bb9e587287c"});
</script>
</div>
<div class="location">
<strong>Our Locations</strong>
<p>Mumbai</p>
<p>Inventrom Private Limited, Unit no. B 32-A, B-wing, 2nd Floor, Raj Industrial Complex, Military Road, Marol, Andheri East, Mumbai, Maharashtra-400059</p>
<p>Goa</p>
<p>Inventrom Private Limited, 10, Gaspar Apartment, behind Suzuki showroom, Panjim, Goa-403001, Near People's High School</p>
<p></p>
<strong>Contact Us</strong>
<p>79, 11th Cross Rd, Binnamangala Indiranagar, Bengaluru, Karnataka-560038, India</p>
<p>(+91) 8881197198</p>
<p>contactus@boltiot.com</p>
</div>
</div>
.wrapper {
display: flex;
}
This will put the two div
s side by side.

tamrat
- 1,815
- 13
- 19
-1
<div class="snippet">
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({portalId: "4801849",formId: "b021b49f-c504-4b1d-ad2b-1bb9e587287c"});
</script>
</div>
<div class="location" style="display:flex">
<strong>Our Locations</strong>
<p>Mumbai</p>
<p>Inventrom Private Limited, Unit no. B 32-A, B-wing, 2nd Floor, Raj Industrial Complex, Military Road, Marol, Andheri East, Mumbai, Maharashtra-400059</p>
<p>Goa</p>
<p>Inventrom Private Limited, 10, Gaspar Apartment, behind Suzuki showroom, Panjim, Goa-403001, Near People's High School</p>
<p></p>
<strong>Contact Us</strong>
<p>79, 11th Cross Rd, Binnamangala Indiranagar, Bengaluru, Karnataka-560038, India</p>
<p>(+91) 8881197198</p>
<p>contactus@boltiot.com</p>
</div>

Muhammad Ahmer
- 63
- 3