我有一個自定義的404頁面。同樣的例子可以發現@http://www.techquark.com/123123使用自定義CSS去除邊框/背景
我需要使框邊框消失,背景爲白色。
對於我粘貼下面的CSS:
.status-msg-border {border: 0;}
.status-msg-body {background-color: #ffffff;}
.status-msg-wrap {width: 100%; margin: 0px auto;}
.status-msg-bg {background: transparent;}
但它沒有工作,箱子還是有邊框和顏色。下面是404頁代碼:
<div class='status-msg-wrap'>
<div class='status-msg-body'>
<div style="text-align: center;" trbidi="on">
<h2>
404 Page Not Found</h2>
Sorry but the page you are looking for cannot be found.
<br/><br/>
If you're in denial and think this is a conspiracy that cannot possibly be true, please try using the search box below or <a href="http://www.techquark.com/p/contact-us.html" target="_blank">contact me</a>.
<br/><br/>
<form action="/search" id="searchThis" method="get" style="display: inline; margin: 20px auto;">
<input id="searchBox" name="q" onblur="if(this.value=='')this.value=this.defaultValue;" onfocus="if(this.value==this.defaultValue)this.value='';" type="text" value="Search this blog" vinput="" /> <input id="searchButton" type="submit" value="Go" /></form>
<br/><br/>
You may also want to move to the <a href="http://www.techquark.com/" target="_blank">homepage</a> for a fresh start of our relationship.
<br/><br/>
<a href="http://1.bp.blogspot.com/-wNOn6Ndu7ws/WPCqTnFAxGI/AAAAAAAAozQ/NlRrQ9so7awQJdAwXcL9ZAUR08EV2lutQCK4B/s1600/404.jpg" imageanchor="1"><img border="0" src="https://1.bp.blogspot.com/-wNOn6Ndu7ws/WPCqTnFAxGI/AAAAAAAAozQ/NlRrQ9so7awQJdAwXcL9ZAUR08EV2lutQCK4B/s1600/404.jpg" /></a>
</div>
</div>
這裏是輸出的,我很期待:
在同任何幫助,將不勝感激!
@Shubham嗨,你能否詳細說明它多一點。我的意思是你提到哪個盒子。 – SreenathPG
嗨,@SreenathPG。我剛剛添加輸出屏幕截圖我期待主要問題。 –