Answer the question
In order to leave comments, you need to log in
Make div look like a grid?
Hello. I just can not decide how to make a block with information in the cells. There will be 3 blocks. In each dark square, I want to place text. Of course, you can use a gallery script in the same style, but it is already in use. Is it possible to do something in css? So that this grid can be scaled.
ps now I see only a rough option - to make these blocks in an absolute position and for each widht 50%, since if you make position relative, float:left,right, then when scaling they will start to run into each other, because of which one will go under another.
Answer the question
In order to leave comments, you need to log in
why would they come? parent is position relative, width 100%, they are also position relative, width 33% (if there are three pieces) + float.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question