Народ всем привет , столкнулся при очередной верстке сайта вот с такой проблемой, представляю вашему внимаю 2 скрина
Проблема возникает в ИЕ, а именно взгляните на синюю выделенную область (такое впечатление что у ссылок стоит какой то margin-top: ...px), вобчем по идее ее быть не должно, так у ссылок отсутствуют отступы по умолчанию, тем боле что у меня в css * {margin: 0px; padding: 0px;} в лисе и в опере такой проблемы нет, есть у кого нить идеи???
<!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">
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
TonKhaO
Народ всем привет
, столкнулся при очередной верстке сайта вот с такой проблемой, представляю вашему внимаю 2 скрина
Проблема возникает в ИЕ, а именно взгляните на синюю выделенную область (такое впечатление что у ссылок стоит какой то margin-top: ...px), вобчем по идее ее быть не должно, так у ссылок отсутствуют отступы по умолчанию, тем боле что у меня в css * {margin: 0px; padding: 0px;} в лисе и в опере такой проблемы нет, есть у кого нить идеи???
CSS:
* {margin: 0px; padding: 0px;}
html, body {
height: 100%;
}
body {background: #ffffff;}
a {border: 1px solid green;}
a:link {color: #b4002d; font: 12px arial;}
a:visited {color: #b4002d; font: 12px arial;}
a:hover {color: #b4002d; font: 12px arial;}
a:active {color: #b4002d; font: 12px arial;}
a.top_header_links:link {color: #dc1528; font: 11px tahoma;}
a.top_header_links:visited {color: #dc1528; font: 11px tahoma;}
a.top_header_links:hover {color: #dc1528; font: 11px tahoma;}
a.top_header_links:active {color: #dc1528; font: 11px tahoma;}
#nonFooter {
position: relative;
min-height: 100%;
border: 1px solid red;
}
* html #nonFooter {
height: 100%;
}
#header {
border: 1px solid black;
height: 300px;
}
#top_header_links_block {
border: 1px solid orange;
}
#top_header_links_left {
width: 180px;
float: left;
border: 1px solid black;
}
#top_header_links_right {
width: 400px;
float: right;
border: 1px solid black;
}
#content {
padding-bottom: 70px;
border: 1px solid green;
}
#leftcol {
border: 2px solid red;
width: 240px;
float: left;
}
#rightcol {
border: 2px solid red;
width: 240px;
float: right;
}
#centercol {
border: 2px solid green;
padding: 0px 240px 0 240px;
}
#footer {
position: relative;
margin-top: -61px;
height: 61px;
border: 1px solid blue;
}
.clear {clear: both;}
HTML:
Edited by TonKhaOLink to comment
Share on other sites
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.