один и тот же контент не отображается в разных браузерах

0

Я использую Codeigniter.I добавить нижний колонтитул на страницу просмотра php с помощью HTML и включить "footer.php" на мою основную страницу просмотра php здесь footer.php HTML и php-код

<div class="col-sm-2 ">

                <!-- Stay Connected -->
                <div class="footer-heading">
                    <h2>Stay Connected</h2>
                </div> 

                <ul class="social-icons">
                    <li><a href="#" data-original-title="Facebook" class="social_facebook"></a></li>
                    <li><a href="#" data-original-title="Twitter" class="social_twitter"></a></li>
                    <li><a href="#" data-original-title="Goole Plus" class="social_googleplus"></a></li>
                    <li><a href="#" data-original-title="Youtube" class="social_youtube"></a></li>
                    <li><a href="#" data-original-title="Linkedin" class="social_linkedin"></a></li>
                </ul>

                <div class="app-icons">
                    <img src="<?php echo base_url();?>assets_profile/img/icons/google_play.png" >
                    <img src="<?php echo base_url();?>assets_profile/img/icons/apps_store.png" >
                </div>

            </div>

но проблема в том, что в браузере Chrome Chrome это все, что я добавил Изображение 174551

Изображение 174551, но в браузере Firefox так выглядит

как решить эту проблему? нужна быстрая помощь, и это мой код css

    .social_amazon {background: url(../img/icons/social/amazon.png) no-repeat;}
.social_behance {background: url(../img/icons/social/behance.png) no-repeat;}
.social_blogger {background: url(../img/icons/social/blogger.png) no-repeat;}
.social_deviantart {background: url(../img/icons/social/deviantart.png) no-repeat;}
.social_dribbble {background: url(../img/icons/social/dribbble.png) no-repeat;}
.social_dropbox {background: url(../img/icons/social/dropbox.png) no-repeat;}
.social_evernote {background: url(../img/icons/social/evernote.png) no-repeat;}
.social_facebook {background: url(../img/icons/social/facebook.png) no-repeat;}
.social_forrst {background: url(../img/icons/social/forrst.png) no-repeat;}
.social_github {background: url(../img/icons/social/github.png) no-repeat;}
.social_googleplus {background: url(../img/icons/social/googleplus.png) no-repeat;}
.social_jolicloud {background: url(../img/icons/social/jolicloud.png) no-repeat;}
.social_last-fm {background: url(../img/icons/social/last-fm.png) no-repeat;}
.social_linkedin {background: url(../img/icons/social/linkedin.png) no-repeat;}
.social_picasa {background: url(../img/icons/social/picasa.png) no-repeat;}
.social_pintrest {background: url(../img/icons/social/pintrest.png) no-repeat;}
.social_rss {background: url(../img/icons/social/rss.png) no-repeat;}
.social_skype {background: url(../img/icons/social/skype.png) no-repeat;}
.social_spotify {background: url(../img/icons/social/spotify.png) no-repeat;}
.social_stumbleupon {background: url(../img/icons/social/stumbleupon.png) no-repeat;}
.social_tumblr {background: url(../img/icons/social/tumblr.png) no-repeat;}
.social_twitter {background: url(../img/icons/social/twitter.png) no-repeat;}
.social_vimeo {background: url(../img/icons/social/vimeo.png) no-repeat;}
.social_wordpress {background: url(../img/icons/social/wordpress.png) no-repeat;}
.social_xing {background: url(../img/icons/social/xing.png) no-repeat;}
.social_yahoo {background: url(../img/icons/social/yahoo.png) no-repeat;}
.social_youtube {background: url(../img/icons/social/youtube.png) no-repeat;}
.social_vk {background: url(../img/icons/social/vk.png) no-repeat;}
  • 0
    сомнительно, что это имеет какое-либо отношение к фоновым изображениям и больше связано с позиционированием этих элементов. Можете ли вы сделать JSFiddle, реплицируя это, пожалуйста?
  • 0
    Я не получил, я никогда не делал никаких изменений фоновых изображений, только добавить нижний колонтитул на мою страницу
Теги:
codeigniter

1 ответ

0

Я думаю, что данный путь неправильный, попробуйте это,

.social_amazon {
background: url(<?php echo base_url();?>img/icons/social/amazon.png) no-repeat;
}

Ещё вопросы

Сообщество Overcoder
Наверх
Меню