V
V
Vladimir Kalaganov2018-03-26 17:41:14
css
Vladimir Kalaganov, 2018-03-26 17:41:14

Remove padding and have the block centered?

I can't figure out how to remove the indent and have the block centered?
When I remove "margin-right: 5.5%;" and put "margin-right: 0;"
5ab9057e484e5505494216.png
Then there is no indentation, but the right block runs away to the left.
Please tell me how to make it centered and without indents between blocks A and B
5ab90658a6c3d662888473.png\\
Website: https://pikcha.pw/052017-2/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dymok, 2018-03-26
@Kalaganov5

margin-right: 0;
width: 50%

S
Sergey Epifanov, 2018-03-26
@kacheleff

the block on the left has margin-right and the width is set.
do this in the browser

margin-right: 0;
width: 52.75%;

got this picture: prntscr.com/iwm2zh

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question