Здравствуйте.
Частая проблема. Корявый ИЕ работает не как все.
Тема – три колонки. Левый сайдбар, колонка с контентом, правый сайдбар.
В Internet Explorer средняя колонка уходит вниз под сайдбары.
ЧИТАЛ форум, юзал ГУГЛ. Кстати, в Гугле хорошую статью нашел по теме http://quinta.org.ua/archives/14
Так вот, вычитал про такие строчки:
1) overflow:hidden;
2) position:relative;
3) _padding: 0px;
Текст:
overflow:hidden;
position:relative;
_padding: 0px;
в style.css вставлял _везде_. Наверно, в 15-20 местах.
"Получилось"! Средняя колонка поднялась вверх, но вместе с этим очень много всего нарушилось.
Вышеуказанный код надо вставлять только в одно или несколько мест, а куда – не знаю.
Начинаю работать "методом тыка". В несколько мест повставляв – ничего. Еще в несколько – средняя колонка поднялась вверх но только до другого сайдбара (была ср. колонка под длинным сайдбаром, поднялась до короткого сайдбара, но не в самый верх). При этом опять много побочных глюков.
ПРОШУ оценить опытным взглядом файл style.css Может вы сразу увидите что и куда надо вставлять overflow:hidden; position:relative; _padding: 0px;
/*
Theme Name:royal-business-26
Theme URI:http://www.plannetworld.com
Description:well designed wordpress theme..!!!!
Author:feeldesigns
Author URI:http://www.plannetworld.com
*/
*{margin: 0 auto;}
body {
font-size: 11px;
margin: 0 auto;
text-align: center;
color: #494949;
background: #000 url(img/bg.jpg) repeat;
font-family: Verdana, "Times New Roman", Times;}
#header {
margin: 0px auto;
height: 36px;
width: 1003px;
background: url(img/top.jpg);}
#header #menu{
text-align: left;
float: left;
margin: 10px 0 0 10px;
clear: both;
font-size:98%;
line-height:0px;
font-weight: bold;
z-index: 100; }
#menu ul {
list-style:none;
margin: 0;
padding: 0; }
#menu ul li {
display:inline;
padding:0;
margin: 0; }
#menu ul li a {
float:left;
display:block;
border-right: 1px dotted #848484;
color:#5F5F5F;
padding:0 1.8em 0 2.8em;
margin:0 0px 0 0;
font-family:Arial, Helvetica, sans-serif;
text-decoration: none;
overflow:hidden
position:relative;
_padding: 0px }
#menu ul li a span {
color:#5F5F5F;
padding:0.6em 1.0em 0.6em 0px;
margin: 0px;
display:block;
text-decoration: none;
overflow:hidden
position:relative;
_padding: 0px }
#menu ul li a:hover, #menu .active {
background-position: 0% -33px;
text-decoration: none; }
#menu ul li a:hover span, #menu .active span {
background-position: 100% -33px;
color: #818181;
text-decoration: none; }
#banner{
width: 1003px;
height:52px;
color: #1F1E1E;
margin: 0px auto;
background: url(img/header.jpg) no-repeat;
text-align: left;}
#title {text-align: left;}
#title h1 {
font-family: "Times New Roman";
font-size: 2.2em;
font-weight: bold;
padding: 3px 0 0 25px;
margin: 0 auto;
color: #C7C7C7;
text-transform: capitalize;}
#title h1 a {
margin-top: 0px;
text-align: left;
font-weight: bold;
color: #C7C7C7;
text-decoration: none;}
#title h1 a:hover {
color: #DFDFDF;
text-decoration: none;}
#title p {
float: right;
font-family: "verdana";
font-size: .8em;
padding: 0 25px 0 0px;
color: #909090;
text-transform: capitalize;
line-height: 15pt;
text-align: left;
letter-spacing: 1pt;}
#container{
clear:left;
margin-left:auto;
margin-right:auto;
margin-top: 0;
margin-bottom: 0;
width: 1003px;
height: auto;
background: #fff url(img/container.gif) repeat-y;
overflow:hidden
position:relative;
_padding: 0px }
#leftnav{
float: left;
margin: 0 auto;
width: 200px;
text-align: left;
overflow:hidden
position:relative;
_padding: 0px}
#rightnav{
float: right;
width: 200px;
margin: 0 auto;
text-align: left;
overflow:hidden;
position:relative;
_padding: 0px}
#content{
display: block;
margin: 0 205px 20px 210px;
line-height: 17px;
font-family: Verdana;
font-size: 11px;
padding-top: 10px;
text-align: left;
overflow:hidden
position:relative;
_padding: 0px}
#content ul{
padding-left: 15px;}
#content ul li{
margin-left: 15px;
list-style-type: square;}
#content ul ul li{
padding-left: 15px;}
#content ol{
list-style-position: inside;
padding-left: 15px;
padding-top: 2px;
margin-bottom: 10px;}
#content p{
padding-top: 5px;
padding-left: 5px;}
#bottom{
width: 1003px;
height: 100px;
margin:0 auto;
clear:both;
font-weight: normal;
font-family: arial, verdana;
color: #818181;
background: url(img/footer.jpg) no-repeat;}
#footermenu
{
float: left;
margin: 25px auto;
overflow:hidden
position:relative;
_padding: 0px
}
#footermenu ul
{
text-align: left;
width: 980px;
display: block;
margin:0px auto;
overflow:hidden
position:relative;
_padding: 0px
}
#footermenu li {
float:left;
margin:0;
padding:0;
list-style-type:none;
white-space:nowrap;
}
#footermenu li a
{
display:block;
padding:0 18px;
font-size:0.9em;
text-transform:uppercase;
color: #fff;
font-weight: bold;
letter-spacing:1px;
overflow:hidden
position:relative;
_padding: 0px
}
#footermenu li a:hover
{
display:block;
padding:0 18px;
font-size:0.9em;
text-transform:uppercase;
color: #fff;
letter-spacing:1px;
border-left: 1px solid #000;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
overflow:hidden
position:relative;
_padding: 0px
}
#bottom p{
padding: 15px 0 0 0;
display: block;
margin-bottom: 2px;
text-align:center;}
#bottom a:link {
color: #818181;
text-decoration: none;
border: none;
font-weight: bold;}
#bottom a:hover {
color: #000;
border: none;}
#bottom a:visited:hover {
color: #000;
border: none;}
#bottom a:visited {
color: #818181;
text-decoration: none;
border: none;
font-weight: bold;}
#sidebarleft {
text-align: left;
padding-top:0px;
padding-left:10px;
margin-right: 16px;
line-height:15px;
font-size:12px;
color:#8D8D8D;
background: none;
overflow:hidden;
position:relative;
_padding: 0px}
#sidebarleft a {
text-decoration:none;
color:#090909;
padding: 0 0 0 15px;
background: url(img/link.jpg) left no-repeat;}
#sidebarleft a:visited {
text-decoration:none;
color:#090909;
padding: 0 0 0 15px;}
#sidebarleft div a {font-weight:bold;}
#sidebarleft a:hover {
text-decoration:none;
color:#BC7800;}
#sidebarleft a:visited:hover {
text-decoration:none;
color:#BC7800;}
#sidebarleft ul {
margin:0;
padding:3px 0 3px 0;
line-height:18px;
list-style:none;}
#sidebarleft ul li {border-bottom: 1px dashed #E0E0E0;}
#sidebarleft ul li li {}
#sidebarleft ul li li:hover {
display: block;
cursor: pointer;}
#sidebarleft h2 {
color:#A66900;
font-size:18px;
width: 200px;
height: 15px;
font-family: Times;
text-align: left;
margin:2px 0 0 0px;
padding:2px 0 15px 30px;
background: url(img/sidetop.jpg) left no-repeat;
font-weight:normal;
line-height:normal;
overflow:hidden
position:relative;
_padding: 0px}
#sidebarleft ul li ul, .sidebar ul li div { padding:0 10px 10px 15px;}
#sidebarleft ul li ul ul, .sidebar ul li div div {
padding:0 0 0 10px;
background:none;}
#sidebarright {
text-align: left;
padding-top:0px;
padding-left:11px;
margin-left: 16px;
line-height:15px;
font-size:12px;
color:#8D8D8D;
background: none;
overflow:hidden;
overflow:hidden
position:relative;
_padding: 0px}
#sidebarright a {
text-decoration:none;
color:#090909;
padding: 0 0 0 15px;
background: url(img/link.jpg) left no-repeat;}
#sidebarright a:visited {
text-decoration:none;
color:#090909;
padding: 0 0 0 15px;}
#sidebarright div a {font-weight:bold;}
#sidebarright a:hover {
text-decoration:none;
color:#BC7800;}
#sidebarright a:visited:hover {
text-decoration:none;
color:#BC7800;}
#sidebarright ul {
margin:0;
padding:3px 0 3px 0;
line-height:18px;
list-style:none;}
#sidebarright ul li { border-bottom: 1px dashed #E0E0E0;}
#sidebarright ul li li {}
#sidebarright ul li li:hover {
display: block;
cursor: pointer;}
#sidebarright h2 {
color:#A66900;
font-size:18px;
width: 200px;
height: 15px;
font-family: Times New Roman;
text-align: left;
margin:2px 0 0 0px;
padding:2px 0 15px 30px;
background: url(img/sidetop.jpg) left no-repeat;
font-weight:normal;
line-height:normal;
overflow:hidden
position:relative;
_padding: 0px}
#sidebarright ul li ul, .sidebar ul li div {padding:0 10px 10px 15px;}
#sidebarright ul li ul ul, .sidebar ul li div div {
padding:0 0 0 10px;
background:none;}
blockquote{
margin: 0px 0px 0px 30px;
padding: 5px 25px 5px 0px;
font-style: italic;
background: #F6F6F6;
border: 1px solid #ECECEC;
color: #000;}
.postmetadata{
display:block;
margin: 10px 5px 10px 5px;
padding: 5px 8px 8px 35px;
text-align: left;
background: #EFEFEF;
border: 1px solid #979797;
color:#A86B00;
overflow:hidden
position:relative;
_padding: 0px}
#content .postmetadata
{}
.postmetadata a:link{
border: none;
color: #636363;
font-weight: normal;}
.postmetadata a:hover{
border: none;
color: #727272;
text-decoration: underline;}
.postmetadata a:visited:hover{
border: none;
color: #727272;
text-decoration: underline;}
.postmetadata a:visited{
border: none;
color: #636363;
font-weight: normal;}
a:link{
color: #004BB1;
text-decoration: none;}
a:hover{
color: #585858;
cursor: pointer;
text-decoration: underline;}
a:visited{
color: #004BB1;
text-decoration: none;
font-weight: normal;}
a:visited:hover{
color: #646464;
cursor: pointer;
text-decoration: underline;}
a img {
float: left;
border:none;
background:none;
padding:5px;}
#feed, #feed img a:link, #feed img a:visited{
border: none;}
.commentlist{
color: #434343;}
.commentlist li{
margin: 2px 2px 2px 0px;
padding-left: 0px;
list-style: none;
margin-bottom: 5px;}
li.alt{}
.commentlist cite{
padding: 1px 1px 1px 1px;}
.commentlist p{
padding: 5px 5px 2px 0px;
margin-bottom: 0px;}
.commentlist a:link{
border: none;
text-decoration: underline;
font-weight: bold;
color: #494949;}
.commentlist a:visited{
border: none;
text-decoration: underline;
font-weight: bold;
color: #494949;}
.commentlist a:hover{
border: none;
text-decoration: underline;
font-weight: bold;
color: #D48B19;}
.commentlist a:visited:hover{
border: none;
font-weight: bold;
color: #D48B19;}
.commentmetadata a:link, .commentmetadata a:hover, .commentmetadata a:visited{
text-decoration: none;
color: #494949;}
.commentmetadata a:hover, .commentmetadata a:visited:hover{
text-decoration: none;
color: #D48B19;}
.commentnumber {
font: bold normal 14px 'Times New Roman', Times, serif;
font-weight: bold;
margin-top: 5px;
float:right;
color: #A9AAAB;
font-size: 12pt;}
#comment{
color: #000;
width:90%;
border: #D0D0D0;
background-color: #FFF;}
h1{
font-size: 36px;
color: #000;}
h2{
font-family: Arial, sans-serif;
display: block;
font-size: 16px;
font-weight: bold;
padding: 5px 0 0 12px;
margin: 5px 0 6px 10px;
text-align: left;}
h3{
font-family: Arial, sans-serif;
display: block;
font-size: 14px;
font-weight: bold;
padding: 5px 0 0 12px;
margin: 5px 0 6px 0;
text-align: left;}
h3.posttitle {
font-family:Times New Roman;
font-size: 20px;
font-weight: normal;
padding: 4px 0 4px 4px;
margin-top: 1px;
border: 1px solid #DFDFDF;
margin-bottom: 10px;}
.posttitle a:link{
font-size: 20px;
color: #000;
font-weight: normal;}
.posttitle a:visited{
font-size: 20px;
color: #000;
font-weight: normal;}
.posttitle a:hover{
font-size: 20px;
color: #05485A;
font-weight: normal;
text-decoration: none;}
.posttitle a:visited:hover{
color: #05485A;
text-decoration: none;}
h4{
font-family: Arial, sans-serif;
margin-top: 15px;
font-size: 13px;
font-weight: bold;
padding: 5px 0 0 12px;
margin: 5px 0 6px 0;
text-align: left;}
h5{
font-family: Arial, sans-serif;
margin-top: 15px;
font-size: 12px;
font-weight: bold;
padding: 5px 0 0 12px;
margin: 5px 0 6px 0;
text-align: left;}
.date{
color: #FFF;
float: right;
position: relative;
border: 1px solid #DFDFDF;
height:22px;
width:90px;
background: #BE9F6C;
text-align:center;
margin: 1px 0 0 0;
padding: 3px 2px 0 2px;
font-size:10px;
overflow:hidden
position:relative;
_padding: 0px}
.entry{
margin-bottom: 5px;}
.post{
color: #090909;
display: block;
overflow:hidden;
width:98%;}
code{
display: block;
margin: 10px 30px 0 30px;
padding: 2px 10px 5px 10px;
color: #000;}
#navigation {
margin-left:auto;
margin-right:auto;
width: 1003px;
height: 175px;
overflow: hidden;
line-height:2.7em;
background: url(img/bcklines.jpg) top left no-repeat;}
#navigation #search {
text-align: left;
float: left;
margin: 3px 0 0 720px;
clear: both;
line-height:0px;
font-weight: bold;
z-index: 100; }
.searchform {
}
.searchform .s {
float: left;
margin: 0 auto;
padding: 3px 0 3px 5px;
width: 150px;
background-color: #121212;
font-family: Arial;
border: 1px solid #3C3C3C;
font-size: 11px;
color: #989898;
overflow:hidden
position:relative;
_padding: 0px}
.go {
margin: 0px 7px 0px 7px;
background-color: #F28D01;
font-family: Arial;
font-size: 12px;
cursor: pointer;
font-weight: normal;
color: #FFF;
border: 1px solid #3C3C3C;}
#about {
float: left;
margin: 0px 0 0 15px; padding: 15px 0 0 220px;
width: 720px; height: 20px;
line-height: 20px;
text-align: left;
display: block;
color: #333333;
font-family: Georgia;
font-style: italic;
font-size: 18px; font-weight: normal;
overflow:hidden
position:relative;
_padding: 0px}
ul{
list-style: none;}
img {
float:left;
padding:0px 5px 5px 10px;}
a img {
float: left;
border:none;
background:none;
padding:5px;}
.alignright {
text-align: right;}
.alignleft {
text-align: left}
.navigation {
display: block;
text-align: center;
margin-top: 10px;
margin-bottom: 0;}
.wp-smiley{
padding: 0;}
.textwidget{
margin: 2px 5px 2px 5px;}
http://plannetworld.com/demo/index.php?wptheme=royal-business-26 – эта тема? На этом сайте в IE тоже уезжает (у меня – нет)? Если – нет, то возьмите style.css от туда или снова скачайте и загрузите тему.
Help Desk, эта. Тоже уезжает. Искал сайты с этой темой – никто не доработал, у всех в ИЕ глючит.
Но у меня же нормально. Internet Explorer 8. У вас какая версия?
Internet Explorer 6
Сам использую Оперу. ИЕ – для проверки. Все таки ещё многие на ИЕ-6 сидят.
Исправил.
Достаточно было прописать строчку
overflow:hidden;
в
#leftnav{
и
#rightnav{
Ну-ну 🙂 Доля «шестерки» стремительно падает – менее 17% за прошлый месяц (по рунету).
Или вот еще наглядная ссылочка (если сможете разобраться) – http://trends.spylog.ru/global-statistic-browsers/2009/07/#level=2&attr=1%252C2%252C3
Вверху выберите: Год – Месяц; ниже перейдите на вкладку «версия»
Ну-ну 🙂 Доля «шестерки» стремительно падает – менее 17% за прошлый месяц (по рунету).[/quote]
Если проект коммерческий, то это потеря 17% прибыли, что очень не мало