I’m new to CSS, and I’m trying to put two transparent boxes in the right position one over the other (vertically align), I tried a lot of solutions but right now I’m stuck…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try to put them into third, container box and set its dimensions to:
height: sum of heights of both inner boxes (+1-2 px, if any of them has a border),
width: longer of two widths of inner boxes (+1-2 px).
Then set “float: right” for both inner boxes.