H1 внутри div был смещен и из ниоткуда применен запас ⇐ CSS
H1 внутри div был смещен и из ниоткуда применен запас
I have an h1 inside a div, which offsetted itself down and I don't understand how did this happen.
the text being offset down
h1 selected with dev tools
h1 gets a top margin of 19.92 even though I did not set it.
margin inspected in devtools
I've tried to set it to 0, but the text is still outside the div.
the text right outside the div
HTML: https://pastebin.com/Gbxiq7cv CSS: https://pastebin.com/gpfXMzPZ using Firefox 123.0
Источник: https://stackoverflow.com/questions/780 ... of-nowhere
I have an h1 inside a div, which offsetted itself down and I don't understand how did this happen.
the text being offset down
h1 selected with dev tools
h1 gets a top margin of 19.92 even though I did not set it.
margin inspected in devtools
I've tried to set it to 0, but the text is still outside the div.
the text right outside the div
HTML: https://pastebin.com/Gbxiq7cv CSS: https://pastebin.com/gpfXMzPZ using Firefox 123.0
Источник: https://stackoverflow.com/questions/780 ... of-nowhere
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Python: смещенная логарифмическая цветовая полоса, белый цвет смещен к центру.
Anonymous » » в форуме Python - 0 Ответы
- 20 Просмотры
-
Последнее сообщение Anonymous
-