search
HomeWeb Front-endHTML Tutorial初学HTML 求大神指点_html/css_WEB-ITnose

为什么手机网页写出来之后 在浏览器上面测试右边没有空白  但是手机打开之后 右边出现一块空白  怎么解决?


回复讨论(解决方案)

代码 贴出来看看。

为什么手机网页写出来之后 在浏览器上面测试右边没有空白  但是手机打开之后 右边出现一块空白  怎么解决?

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








痔疮专题


<script></script>
<script></script>
<script></script>
<script></script>
<script></script>
<script> <br />$(document).ready(function(){ <br /> <br /> /*$(".main_visual").hover(function(){ <br /> $("#btn_prev,#btn_next").fadeIn() <br /> },function(){ <br /> $("#btn_prev,#btn_next").fadeOut() <br /> }); <br /> <br /> $dragBln = false;*/ <br /> <br /> $(".main_image").touchSlider({ <br /> flexible : true, <br /> speed : 200, <br /> btn_prev : $("#btn_prev"), <br /> btn_next : $("#btn_next"), <br /> paging : $(".flicking_con a"), <br /> counter : function (e){ <br /> $(".flicking_con a").removeClass("on").eq(e.current-1).addClass("on"); <br /> } <br /> }); <br /> <br /> $(".main_image").bind("mousedown", function() { <br /> $dragBln = false; <br /> }); <br /> <br /> $(".main_image").bind("dragstart", function() { <br /> $dragBln = true; <br /> }); <br /> <br /> $(".main_image a").click(function(){ <br /> if($dragBln) { <br /> return false; <br /> } <br /> }); <br /> <br /> timer = setInterval(function(){ <br /> $("#btn_next").click(); <br /> }, 5000); <br /> <br /> $(".main_visual").hover(function(){ <br /> clearInterval(timer); <br /> },function(){ <br /> timer = setInterval(function(){ <br /> $("#btn_next").click(); <br /> },5000); <br /> }); <br /> <br /> $(".main_image").bind("touchstart",function(){ <br /> clearInterval(timer); <br /> }).bind("touchend", function(){ <br /> timer = setInterval(function(){ <br /> $("#btn_next").click(); <br /> }, 5000); <br /> }); <br /> <br />}); <br /> <br />var div = document.getElementById("alpha"); <br />var mask = document.getElementById("alpha"); <br />div.onmouseover = function() <br />{ <br /> mask.style.opacity = "0.5"; <br /> mask.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=50)" <br />} <br />div.onmouseout = function() <br />{ <br /> mask.style.opacity = "0"; <br /> mask.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=0)" <br />} <br /></script>








初学HTML 求大神指点_html/css_WEB-ITnose


初学HTML 求大神指点_html/css_WEB-ITnose



  • 首页

  • 简介

  • 医生

  • 技术

  • 路线






初学HTML 求大神指点_html/css_WEB-ITnose


  • 首页>

  • 微创外科>

  • 痔疮专题






初学HTML 求大神指点_html/css_WEB-ITnose


初学HTML 求大神指点_html/css_WEB-ITnose





初学HTML 求大神指点_html/css_WEB-ITnose

自己是否得了痔疮?





初学HTML 求大神指点_html/css_WEB-ITnose

自己可能是那种原因?





初学HTML 求大神指点_html/css_WEB-ITnose

得了痔疮怎么办才好?





初学HTML 求大神指点_html/css_WEB-ITnose

了解奥林现代无痛微创技术!





初学HTML 求大神指点_html/css_WEB-ITnose



初学HTML 求大神指点_html/css_WEB-ITnose
初学HTML 求大神指点_html/css_WEB-ITnose
初学HTML 求大神指点_html/css_WEB-ITnose
初学HTML 求大神指点_html/css_WEB-ITnose
初学HTML 求大神指点_html/css_WEB-ITnose



初学HTML 求大神指点_html/css_WEB-ITnose
初学HTML 求大神指点_html/css_WEB-ITnose
初学HTML 求大神指点_html/css_WEB-ITnose
初学HTML 求大神指点_html/css_WEB-ITnose






这是CSS
body,h1,h2,h3,h4,h5,h6,dl,dt,dd,ul,ol,li,th,td,p,pre,form,input,button{margin:0 auto; padding:0;font-family: inherit;font-style: inherit; width:100%; overflow-x:hidden;}

.top{ width:320px; height:58px; background:#0061ae; margin:0 auto}

#wap {
width: 320px;
margin: 0 auto;
background-color: #FFF;
overflow: hidden;
}

截个效果图吧 分别在手机端和电脑端,

关于布局,您还是使用bootstrap吧。。。。。

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How do you set the lang attribute on the  tag? Why is this important?How do you set the lang attribute on the tag? Why is this important?May 08, 2025 am 12:03 AM

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

What is the purpose of HTML attributes?What is the purpose of HTML attributes?May 07, 2025 am 12:01 AM

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

How do you create a list in HTML?How do you create a list in HTML?May 06, 2025 am 12:01 AM

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML in Action: Examples of Website StructureHTML in Action: Examples of Website StructureMay 05, 2025 am 12:03 AM

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.

How do you insert an image into an HTML page?How do you insert an image into an HTML page?May 04, 2025 am 12:02 AM

ToinsertanimageintoanHTMLpage,usethetagwithsrcandaltattributes.1)UsealttextforaccessibilityandSEO.2)Implementsrcsetforresponsiveimages.3)Applylazyloadingwithloading="lazy"tooptimizeperformance.4)OptimizeimagesusingtoolslikeImageOptimtoreduc

HTML's Purpose: Enabling Web Browsers to Display ContentHTML's Purpose: Enabling Web Browsers to Display ContentMay 03, 2025 am 12:03 AM

The core purpose of HTML is to enable the browser to understand and display web content. 1. HTML defines the web page structure and content through tags, such as, to, etc. 2. HTML5 enhances multimedia support and introduces and tags. 3.HTML provides form elements to support user interaction. 4. Optimizing HTML code can improve web page performance, such as reducing HTTP requests and compressing HTML.

Why are HTML tags important for web development?Why are HTML tags important for web development?May 02, 2025 am 12:03 AM

HTMLtagsareessentialforwebdevelopmentastheystructureandenhancewebpages.1)Theydefinelayout,semantics,andinteractivity.2)SemantictagsimproveaccessibilityandSEO.3)Properuseoftagscanoptimizeperformanceandensurecross-browsercompatibility.

Explain the importance of using consistent coding style for HTML tags and attributes.Explain the importance of using consistent coding style for HTML tags and attributes.May 01, 2025 am 12:01 AM

A consistent HTML encoding style is important because it improves the readability, maintainability and efficiency of the code. 1) Use lowercase tags and attributes, 2) Keep consistent indentation, 3) Select and stick to single or double quotes, 4) Avoid mixing different styles in projects, 5) Use automation tools such as Prettier or ESLint to ensure consistency in styles.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.