Align boxes
-
Hello, I am using this code to make three boxes that I put below an image so that visitors to the name click on a page.
The problem I have is that from the mobile are not aligned and I would like to know if there is any way that, when entering from a mobile appear one on top of another or adapt to the dimensions.
I used a “div Img class” to do that with the images but with the boxes I can not find how to do it.
The code I use for the boxes is:
<div style="width: 100%; margin: 0 auto;"> <div style="background-color: #575756; height: 50px; color: white; padding: 10px; width: 190px; margin: 0 10px 0 39px; float: left;"> <p style="text-align: center;">NOMBRE</p> </div> <div style="background-color: #575756; height: 50px; color: white; padding: 10px; width: 185px; margin: 0 50px 0px; float: left;"> <p style="text-align: center;">NOMBRE</p> </div> <div style="background-color: #575756; height: 50px; color: white; padding: 10px; width: 182px; margin: 0 0 0 8px; float: left;"> <p style="text-align: center;">NOMBRE</p> </div> </div>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Align boxes’ is closed to new replies.