日期:2014-05-17  浏览次数:20495 次

discuz手机版中logo无法置顶显示
这是mobile里面的header文件 问题是:页面logo无法置顶显示 总是离浏览窗口上面好大一坨空白,再才能看到logo.

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>

<meta http-equiv="Cache-control" content="{if $_G['setting']['mobile'][mobilecachetime] > 0}{$_G['setting']['mobile'][mobilecachetime]}{else}no-cache{/if}" />

<meta name="viewport" content="width=device-width; initial-scale=1.3; minimum-scale=1.0; maximum-scale=2.0"/>

<meta name="MobileOptimized" content="240"/>

<meta name="Iphone-content" content="320"/>

<meta name="format-detection" content="telephone=no" />

<meta name="keywords" content="{if !empty($metakeywords)}{echo htmlspecialchars($metakeywords)}{/if}" />

<meta name="description" content="{if !empty($metadescription)}{echo htmlspecialchars($metadescription)} {/if},$_G['setting']['bbname']" />

<title>小黑客—手机版</title>

<style type="text/css">

* { margin: 0; padding: 0; word-wrap: break-word; }

ul li, .xl li { list-style: none; }

.xw0 { font-weight: 400; }

.xw1 { font-weight: 700; }

.xg1, .xg1 a { color: #999 !important; }

.xg1 .xi2 { color: #999 !important; }

.xg2 { color: #666; }

.xi1, .onerror { color: #F60; }

.xi2, .xi2 a, .xi3 a { color: #369 ; }

.mtn { margin-top: 5px !important; }

.mbn { margin-bottom: 5px !important; }

.mtm { margin-top: 10px !important; }

.ptn { padding-top: 5px !important; }

.pbn { padding-bottom: 5px !important; }

.pd2 { padding: 2px !important; }

.pd5 { padding: 5px !important; }

.nopd { padding: 0px !important;}

.bt{ border-top: 1px #F2F2F2 solid !important; }

.bbn{ border-bottom: 1px #efefef solid !important; }

.ban { border: 1px #F2F2F2 solid !important;}

.xs0 { font-size : 8pt;}



a, .lkcss{ color: #004299; text-decoration: none;}

a img{ text-decoration: none; border: 0px none;}

EM { font-style: normal; }

img{border: 0;}



.odd { background: #FFF; }

.even { background: #fbfbff;}



.txt, .txt_s, .px { padding: 5px 0px; border: 1px solid #C3C3C3; background: #FFF url(./static/image/mobile/input_bg.gif) repeat-x 0 0px; width: 100%; }

.txt_s { width: 30px; }





body {background: #FFF; background-image:none; line-height: 130%; font-size: 10pt; font-style: normal; font-family: Arial,Helvetica,sans-serif; }



.hd { padding: 3px; border-bottom: 3px solid #2B7ACD; }

.hd a{ color: #2B7ACD; text-decoration: none; }

.wp { padding: 2px;}



.f_c { margin-top: 5px; padding: 5px; border: 1px #C2D5E3 solid; }

.f_c p{ line-height: 24px;}

/* common border */

.box { margin-top:3px; background: #fbfbff; padding: 3px 0; line-height:18px;}

.box h2 {}

.box .on { font-weight: 700; }

.box_ex { margin-top:0px; border-top: 0px none;}

.box_ex2{ margin-top:0px; border-top:0px none; border-left: 0px none; border-right: 0px none; }



.bm .bm_h { padding: 2px; background: #2A6EB4; border-bottom:1px #02254b solid; color: #FFF; line-height: 20px; font-size: 10pt; }

.bm .bm_h a