`
jpw2409
  • 浏览: 13759 次
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表

colgroup-table

    博客分类:
  • html
<table width="100%" border="1" cellspacing="0" cellpadding="0">   <colgroup>   <col width="13%"  >   <col width="37%" >   <col width="13%"  >   <col width="37%" >   </colgroup>   ...

字母换行

    博客分类:
  • html
word-break: break-all
.chebo input{   vertical-align:text-top; margin-top:0;}

标题 更多

    博客分类:
  • html
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <!--<style> *{margin:0;padding:0;border:0;font-size:12px;font-family:Tahoma, Geneva, sans-serif;color:#666666;} body,div,table,p,ul,li,span,b{margin:0 ...
<BODY style="BACKGROUND: url(effect/source/bg/1240884810.jpg) #0d2345 fixed no-repeat center top">
解决方法:DOCTYPE头部声明去掉就可以了 关键应该在width="100%" height="100%这儿,xhtml和html对width的解释是不一样的。你可以给width赋个实值(例如200px)

div 换行

    博客分类:
  • html
<div style="width:100px; height:200px; background: #0CF; > ddddddddddddddddddddddd </div> 《!--上面的这个不会自动换行,加上  word-break:break-all; 就可以自动换行--》 <div style="width:100px; height:200px; background: #0CF; > 滴答滴答滴答滴答滴答滴答滴答滴答滴答滴答滴答滴答滴答滴答滴答 </div> 《!--上面的这个会自动换行--》
iframe src="http://zhidao.baidu.com/question/146961890.html" width="980" height="700" frameborder="0" scrolling="no" style="position: absolute; top: -120px; left: -680px;"></iframe>
<script> $(document).ready(function(){   w= $(".kf").width(); h=$(".kf").height(); r=w/2; s=h/2;   $(".kf").css("margin","-"+s+" 0 0 -"+r+""); //要是个参数的时候用“+参数+”     }) </script> <table  border=&qu ...
text-shadow: 5px 5px 5px #FF0000;  阴影 color:#333 box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.3);                     inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 0 rgba(255, 255, 255, 0.8) border-radius: 3px; 圆角 transition:background 5000ms ease-in;
<script language="JavaScript">     <!-- function getOs() {     var OsObject = "";    if(navigator.userAgent.indexOf("MSIE")>0) {         return "MSIE";    }    if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){         ret ...
word-break: break-all;

line-height ie6失效

    博客分类:
  • html
 
.gwc-border ul .gwc_66{width:116px; height:110px;border:1px solid #e0e0e0;  border-left:0px; border-top:0px; float: left;<!--line-height:110px;--> } .gwc-border ul .gwc_66 input{margin:45px 0;vertical-align:middle} 对和文字相连接的img、input、textarea、select、object等元素加以属性

路径(链接)

    博客分类:
  • html
                    <DIV >                                         <SPAN>当前位置</SPAN> <SPAN>:</SPAN>                     <A href="" target=_self>首页</A> <SPAN >&gt;</SPAN> <A href="http://life.hao123.com/" target=_sel ...

导航导航导航导航

    博客分类:
  • html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ut ...
Global site tag (gtag.js) - Google Analytics