嘿伙计们我对浏览器有一些问题。我有一个博客网站(很快就会购买我自己的域名)。我是css等的书呆子可以有人帮助我。第一个浏览器是android的uc浏览器,第二个是google chrome
http://i.stack.imgur.com/0uKJN.jpg
http://i.stack.imgur.com/tjgzA.jpg
我想让第一张图片看起来像第二张图片。链接是
perfectbloggertricks.blogspot.com
任何人都可以帮我吗?
<header class='navbar navbar-inverse navbar-fixed-top main-top-nav' role='banner'>
<div class='container' style='background: linear-gradient(to bottom, #525252 5%, #262626 100%);border-top:2px
solid #7562FF;box-shadow:inset 0px 1px 0px 0px #a8a8a8'>
<div class='navbar-header' style='height:50px;background:linear-gradient(to bottom, #525252 5%, #262626
100%);box-shadow:inset 0px 1px 0px 0px #a8a8a8'>
<button class='navbar-toggle' data-target='.bs-navbar-collapse' data-toggle='collapse' type='button'>
<span class='sr-only'>Toggle navigation</span>
<span class='icon-bar'/>
<span class='icon-bar'/>
<span class='icon-bar'/>
</button>
<a class='myButton1' href='/' style='font-variant:small-caps;font-family:serif;font-size:19px;color:rgb(255,
255, 255);line-height:24px;padding:12px 14px}'>Home</a>
</div>
<nav class='collapse navbar-collapse bs-navbar-collapse' role='navigation'>
<ul class='nav navbar-nav'>
<li>
<a class='myButton1' href='#'>Getting started</a>
</li>
<li>
<a class='myButton1' href='#'>Adsense</a>
</li>
<li>
<a class='myButton1' href='#'>Components</a>
</li>
<li>
<a class='myButton1' href='#'>JavaScript</a>
</li>
<li>
<a class='myButton1' href='http://perfectbloggertricks.blogspot.com/search/label/Seo'>Seo</a>
</li>
<li>
<a class='myButton1' href='#'>Contact</a>
</li>
</ul>
</nav>
</div>
</header>
答案 0 :(得分:0)
您可以通过两种方式执行此操作:将width
设置为100%
,或者为横幅的width
和height
定义显式像素值,以使其正常工作。< / p>