HTML & CSS
How to set ...
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
How to set a
5px width indentation
outside the element
using CSS?
padding:5px;
margin:5px;
spacing:5px;
outer-spacing:5px;
insets:5px;
Explanation
Click here for more information!
CSS Margins
indentation
margin
html
css
outside
Подобається
Ввійдіть
щоб вподобати
Комментувати
Ввійдіть
щоб прокоментувати
Поширити
Tweet
Пов'язані матеріали
Specify the option in which the indentation parameters are set correctly.
Which CSS property sets the outer left indentation of the element?
Which CSS should be added to allow the link to appear on the top: <a href="#" title="Test" style="margin-top:50px;">Test</a>
With which property can you control the amount of indentation of the first line of a block of text?
There is HTML with a nested stylesheet: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Margin test</title> <style type="text/css"> #div1 { position: absolute; width: 200px; height: 100px; border: none; padding: 0; background: green; } #div2 { margin-top: 20%; border: none; padding: 0; background: red; color: red; } </style> </head> <body> <div id="div1"> <div id="div2">*</div> </div> </body> </html> What will be the margin-top value for the block with identifier div2 calculated in pixels?
Тести з
H
TML & CSS
Приєднуйся і вивчай HTML & CSS
або
Дізнайся більше про
Тести з HTML & CSS онлайн
Слідкуй за CodeGalaxy
Мобільний додаток Beta
Зворотній Зв’язок
Продовжуйте вивчати
тести з HTML & CSS
How to make a shadow for text in gray?
Which of the following is true about the pseudo-class :visited?
What is the difference between pseudo-elements :after and ::after?
What is the font-variant property for?
Which color will word "text" has? <style> p{ color: green !important; } #p{ color: blue; } </style> <p id="p" style="color: red">text</>
How to change the color of a link to blue when the cursor moves over it?
Зареєструйся Зараз
або
Підпишись на майбутні тести
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати