Разбираемся в CSS
-
Anonymous
Почему мои поля div перекрываются и как это исправить?
Сообщение
Anonymous »
Я не понимаю, почему поля этих элементов div перекрываются.
Код: Выделить всё
.alignright {float: right}
#header .social {margin-top: 50px;}
#header .social a {display: inline-block;}
#header .social .fb {width: 64px; height: 1px; padding-top: 60px; overflow: hidden;}
#header .social .twit {width: 64px; height: 1px; padding-top: 60px; overflow: hidden;}
#header .contact {margin: 20px 70px 20px 0; font-size: 14px; font-weight: bold;}
#header .contact span {color: #FFFFFF;}
#header .search {margin: 10px 0 0;}
Код: Выделить всё
[url=#][/url]
[url=#][/url]
Get in Touch: +44 10012 12345
Подробнее здесь:
https://stackoverflow.com/questions/390 ... n-i-fix-it
1734472052
Anonymous
Я не понимаю, почему поля этих элементов div перекрываются.
[code].alignright {float: right}
#header .social {margin-top: 50px;}
#header .social a {display: inline-block;}
#header .social .fb {width: 64px; height: 1px; padding-top: 60px; overflow: hidden;}
#header .social .twit {width: 64px; height: 1px; padding-top: 60px; overflow: hidden;}
#header .contact {margin: 20px 70px 20px 0; font-size: 14px; font-weight: bold;}
#header .contact span {color: #FFFFFF;}
#header .search {margin: 10px 0 0;}[/code]
[code]
[url=#][/url]
[url=#][/url]
Get in Touch: +44 10012 12345
[/code]
[img]https ://i.sstatic.net/tOJW5.png[/img]
Подробнее здесь: [url]https://stackoverflow.com/questions/3906640/why-are-my-div-margins-overlapping-and-how-can-i-fix-it[/url]