2
I’m making a very simple site in HTML5 and pure CSS
So I created an inline-block list of 4 items and each item is a large square whose sizes have to align to the header and such. The problem is that when I set the right size to align with the interface of the site the last item of the list goes down even though there is room for it to be on top...
I’ve tried to do Divs instead of list and the same thing. So I put a white border on the interface so you can see the size of it
1) example: list aligned but only left http://www.emagrecerdireito.com/agency/
2) example: so if I increase the blocks to align right the last one falls down http://www.emagrecerdireito.com/agency2/
Already, in this case I am increasing the size on the left with padding-left(from 11.7% to 12%), but I have tried with width and the same effect and the same problem.
The id that formats the Blocks is the "#interfaceiconesproducts"
The block is falling because the container size is not holding it. From what I saw in DOM and CSS, the positioning of the
<figure id="logo">
is wrong, committing to<figure>
internal and thus impacting on the visualization of products.– Rodrigo Rigotti
In addition, the tag
<head>
is in the wrong place.– Rodrigo Rigotti
@Rodrigo Rigotti, I fixed the header*, now it’s going well I didn’t touch the figure. What’s wrong with it?
– ropbla9