HomeBot | Google chat bot - | Bot library
kandi X-RAY | HomeBot Summary
kandi X-RAY | HomeBot Summary
HomeBot
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of HomeBot
HomeBot Key Features
HomeBot Examples and Code Snippets
Community Discussions
Trending Discussions on HomeBot
QUESTION
I would like to get this result below:
My problem is that, I don't understand why my blocks are not centered correctly even with the propriety display: inline-block
in my selector homebotblock1
?
I tried this:
...ANSWER
Answered 2020-May-18 at 19:47Since you are applying inline-block
to the image separately, it is not horizontally aligning the image to any other element in the page.
To achieve your result, you will need to create a div
structure that suits your needs and then apply your property.
Also, use flex
instead of inline-block
, it's much powerful. I have modified your code to achieve your result.
P.S. Kindly add in a padding
as per your need. Since it is not the objective of the question, I have not included it in my answer.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HomeBot
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page