Логотип и разные браузеры

Добрый день! у меня следующая проблема. В шапке моего сайта предполагается вставка логотипа. В Опере все отлично отображается, а вот с Эксплоером – сложнее – не хочет его видеть и все тут :(!

 
#newheader {height: 160px; background: #4876FF; text-align: right; padding-top 30px;}
#headerimage {height: 170px; background: url('images/page_logo.jpg') top left no-repeat; list-style: none;} - /* эту строку не видит Эксплоер*/

Читала на сайте http://www.tamba2.org.uk/wordpress/graphicalcss/header/index.php (Sonika ранее рекомендовала в одной из тем), что такая ситуация бывает не редко. Нужно нажать CTRL-F5, если не помогает "нажать на картинку и перезагрузить снова" – вот это, правда не совсем поняла. Сделала так: убрала картинку – нажала CTRL-F5, затам опять вставила – нажала CTRL-F5. Не сработало!

Помогите, пожалуйста разобраться. у меня из-за этой вроде бы чепухи вся работа стала.

То что вы написали должно работать. Ошибка возникает в том месте, которое вы не указали. А именно в том, как эти два стиля друг с другом взаимодействуют., в каких других стилях они находятся, etc.

Я не знаю, что за ерунда получается, но картинка в Эксплоере всетаки появилась, хотя ничего нового я не делала. Вчера раз 30 кеш чистила, убирала/ вставляла картинку – ни фигА! КАК ГОВОРИТСЯ – БЫВАЕТ :)! Надеюсь больше глючить не будет…. очень.

Согласна с Ш Б м н к. Того, что вы, Жека, указали недостаточно, чтобы определить в чем ошибка. Если, например, блок с картинкой находится внутри блока newheader, то уже явная ошибка по высоте (большее не может находиться в меньшем).
Кроме того, у блока headerimage лишними являются кавычки в адресе картинки, и свойство list-style: none; – которое к картинкам вообще не относится, а является правилом для списка.
Дайте ссылку на сайт, тогда можно будет точно сказать что да как.

Настя Манно, ссылку на сайт дам, но чуть позже (если хотите стесняюсь я, хотя мне он симпатичен. это не блог, а коммерческий сайт).
Это весь style.css

/*
Theme Name: Silver Lexus
Theme URI: http://www.planet-lexus.com/theme
Description: Classy and Subtle, just like the car! 3 column widget ready liquid layout design. XHTML 1.0 Strict and optimised for Search Engines.
Version: 0.9e
Author: Highlands by Design
Author URI: http://www.highlandsbydesign.com/

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

*/

/* Begin Base Elements */

* {margin: 0; padding: 0; border: 0;}

body {font: 75%/150% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; color: #666; background: url('images/shadow_left.png') repeat-y #fff;}
html>body {width: auto; min-width: 740px;}

a {text-decoration: none; color: #999; font-weight: bold; background: transparent;}
a:hover {text-decoration: underline; color: #666;}

small {text-align: right; margin: 1em 0;}

h1 {font-size: 1.5em;}
h2, h3, h4 {font-size: 1.2em; border-bottom: 1px dashed #ddd;}

hr {margin: 0 auto; clear: both; border-top: 1px solid #ddd;}

.date {color: #ccb; padding: 0.5em 1em; text-align: right; float: right;}
.date1 {font-size: 3em; display: block;}
.date2 {font-size: 2em; display: block;}
.date3 {font-size: 2em; display: block; font-weight: bold;}

.pageInfo {font-size: 0.8em; color: #aaa; text-align: right; border-bottom: 1px dashed #ccc; padding: 1em; clear: both;}

.fifty {width: 40%; text-align: center;}

.boxedup {background: #fff url('images/gradient.png') top repeat-x; border: 1px solid #eee; padding: 0.5em; margin: 0.5em;}

/* End Base Elements */

/* Begin Layout Elements */

#newheader {height: 160px; background: #4876FF; text-align: right; padding-top 30px;}
#headerimage {height: 170px; background: url('images/page_logo.jpg') top left no-repeat; list-style: none;}
#newheader h1 {padding: 65px 0 5px 20px; border: 0;}
#newheader h1 a {font-size: 2em; color:#1E90FF;}
#newheader h1 a:hover {color: #f90; text-decoration: none; border-top: 5px solid #f90; border-bottom: 5px solid #f90;}
#newheader h2 {color: #666; font-size: 1em; padding-left: 20px; font-weight: normal; border: 0; margin-top: 10px;}

#wrapper {background: url('images/shadow_right.png') top right repeat-y; padding: 1px;}

#highlands {float: left; width: 100%;}

#column1 {background: url('images/front_page1.png') top right no-repeat; margin: 0 215px 0 235px; padding-top: 10px; text-align: left;}
#column1 p {margin: 0 1.5em 1.5em 1.5em; line-height: 1.5em;}
#column1 h1, #column1 h2, #column1 h3 {color: #aaa; font-weight: bold; margin: 0.5em 0; padding-bottom: 0.2em; border: 0;}
#column1 h2 {font-size: 1.5em;}
#column1 h2 a {color: #999;}
#column1 h2 a:hover {color: #666;}
#column1 ul, #column1 ol {margin: 1em; padding: 0.5em; border-top: 1px dashed #eee; border-bottom: 1px dashed #eee;}
#column1 ul li {margin: 0 1em; padding: 0.2em; list-style: square inside;}
#column1 ol li {margin: 0 3em; padding: 0.2em; list-style: decimal outside;}
#column1 blockquote {margin: 15px; padding: 0 0 10px 30px; font-style: italic; background: url('images/blockquote.png') 0 0 no-repeat;}
#column1 blockquote p {margin: 1em 2em 0 0;}

#column2 {float: left; width: 210px; margin-left: -100%; font-size: 0.9em; padding-top: 10px;}
#column2 ul {margin-left: 40px; list-style: none;}

#column3 {float: left; width: 190px; margin-left: -190px; font-size: 0.8em; padding-top: 10px;}
#column3 ul {margin-right: 38px; list-style: none;}

#footer {background: url('images/shadow_footer.png') top left repeat-x; font-size: 0.8em; clear: both; padding: 20px 10px; margin: 0 210px 0 230px;}
#footer p {text-align: center; margin: 0; padding: 0;}

#back {clear: both; font-size: 0.8em; text-align: right; padding: 0 10px; clear: both; margin-top: 20px;}
#back a {font-weight: normal;}
#back span {float: left;}
#back strong {color: #006;}

/* End Layout Elements */

/* Begin Navigation Elements */

#navigation {display: block; background: url('images/page_nav.png') repeat; text-align: center; height: 2em; padding: 2px 0; border-top: 1px solid #fff; border-bottom: 2px solid #ccc; }

#nav {padding-left: 35px; min-width: 1000px; margin: 0 auto;}
#nav, #nav ul {text-align: left; font-size: 1.1em; list-style: none; font-weight: normal; z-index: 8;}
#nav li {float: left; padding: 0; margin: 0;}
#nav a {border-right: 5px solid #eee; display: block; line-height: 2em; padding: 0 15px; color: #3A5FCD; text-decoration: none; font-weight: bold;}
#nav a:hover {border-right: 5px solid #fda; color: #fff; background: #ccc;}
#nav li ul {margin: 0; padding: 0; font-size: 1em; white-space: nowrap; border: 1px solid #ddd; background: url('images/page_nav.png') repeat #eee; position: absolute; left: -999em; height: auto; width: 24em;}
#nav li li {width: 24em; margin: 0;}
#nav li ul a {border-left: 1em solid #fda; margin: 0;}
#nav li ul a:hover {border-left: 1em solid #f90;}
#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {left: auto;}
#nav li:hover, #nav li.sfhover { color: #fff; background: #ccc;}

#page_nav a {display: block; color: #999; padding: 10px; border: 1px solid #eee;}
#page_nav a:hover {color: #999; border: 10px solid #ddd; background: #eee;}

#breadcrumbs {position: absolute; font-size: 0.8em; top: 6px; left: 5px; text-align: left; text-transform: lowercase;}

/* End Navigation Elements */

/* Begin Form Elements */

#searchCSS {font-size: 0.9em; position: absolute; top: 6px; right: 5px;}
#searchform {text-align: center;}
#searchform #s {width: 115px; font-size: 9px; padding: 2px; border: 1px solid #ccc;}
#searchform #s:focus {border: 1px solid #aaa; background: #fafafa;}
#searchsubmit {font-size: 9px; background: #fff url('icons/icon_search.png') 1px 1px no-repeat; cursor: pointer; padding: 0 0 0 15px; border: 1px solid #aaa;}
#searchsubmit:hover {border: 1px solid #999;}
#submit {cursor: pointer;}

.entry form {text-align: center;}

select {width: 140px;}
#commentform input {width: 170px; padding: 2px; margin: 5px 5px 1px 0; border: 1px solid #ccc; background: #fafafa;}
#commentform input:focus {border: 1px solid #aaa; background: #f6f6f6;}
#commentform textarea {width: 95%; padding: 2px; border: 1px solid #ccc; background: #fafafa;}
#commentform textarea:focus {border: 1px solid #aaa; background: #f6f6f6;}
#commentform #submit {border: 1px solid #ccc; color: #666; background: #fafafa; vertical-align: top;}
#commentform #submit:hover {border: 1px solid #aaa; background: #eee;}

.comment_no {padding-top: 10px; float: right; font-size: 3.5em; color: #eee;}

.commentlist {padding: 0; margin: 5px; list-style: none;}
.commentlist li {clear: both; list-style: none; padding: 10px; background: #fff url('images/gradient.png') 0 -10px repeat-x; border-top: 1px solid #ddd; margin: 10px;}
.commentlist li:hover {background-position: 0 0; border-top: 1px solid #ccc;}

.commentlist .gravatar {display: block; float:left; padding: 3px; margin: 0 20px 5px 0; border: 2px solid #ccc; background: #eee;}

.alt {clear: both;}

/* End Form Elements */

/* Begin Images */

p img {padding: 0;}
p img[alt="an image"] {float: left; margin: 0 7px 2px 0;}
img.alignright {padding: 4px; margin: 0 0 2px 7px; display: inline;}
img.alignleft {padding: 4px; margin: 0 7px 2px 0; display: inline;}

.center {display: block; margin-left: auto; margin-right: auto;}
.alignright {float: right;}
.alignleft {float: left;}

.images {width: 95%; text-align: center;}
.images img {float: left; clear: both; margin: 0 auto;}

/* End Images */

/* Begin Portlets */

#wp-calendar {text-align: center;}
#wp-calendar {width: 100%; background: #fff;}
#wp-calendar caption {background: #ddd; font-weight: bold;}
#wp-calendar thead {background: #eee;}
#wp-calendar #today {background: #eef;}
#wp-calendar a {text-decoration: underline;}

#column2 ul, #column3 ul {padding-bottom: 20px; margin-bottom: 1em; background: url('images/portlet_header2.png') bottom right no-repeat;}
#column2 ul li, #column3 ul li {margin: 0; padding: 0.5em; background: #fafafa;}
#column2 ul li.listHeader, #column3 ul li.listHeader {background: transparent; padding: 0;}
#column2 ul li h2, #column2 ul li h3, #column3 ul li h2, #column3 ul li h3 {margin: 0; padding: 0.5em; color: #666; background: url('images/portlet_header2.png')}

/* End Portlets */

/* Begin Icons and Stuff */

.icons a {display: block; height: 16px; padding-left: 25px;}
.icons a:hover {background-position: left bottom ;}

.icons .s_delicious {background: #fafafa url('icons/delicious.gif') no-repeat;}
.icons .s_digg {background: #f6f6f6 url('icons/digg.gif') no-repeat;}
.icons .s_technorati {background: #fafafa url('icons/technorati.gif') no-repeat;}
.icons .s_reddit {background: #f6f6f6 url('icons/reddit.gif') no-repeat;}
.icons .s_magnolia {background: #fafafa url('icons/magnolia.gif') no-repeat;}
.icons .s_stumbleupon {background: #f6f6f6 url('icons/stumbleupon.gif') no-repeat;}
.icons .s_yahoo {background: #fafafa url('icons/yahoo.gif') no-repeat;}
.icons .s_google {background: #f6f6f6 url('icons/google.gif') no-repeat;}

.iconComment a {padding-left: 20px; background: url('icons/icon_comment.png') top left no-repeat;}
.iconEdit {background: url('icons/icon_edit.png') top left no-repeat; padding: 1px 0 5px 20px;}
.iconrss {background: url('icons/icon_feed.gif') no-repeat;}

/* End Icons and Stuff */

Не знаю достаточно ли этого Css?

На счет "у блока headerimage лишними являются кавычки в адресе картинки, и свойство list-style: none; – которое к картинкам вообще не относится, а является правилом для списка." – честно не знала. так было изначально в теме.

2Жека

Еще раз, дайте код как эти блоки увязаны между собой, а не их стили. А лучше ссылку – полезу разберусь.

а если попробовать прописать костылик для IE ???

Anonymous
Отправить
Ответ на: