易截截图软件、单文件、免安装、纯绿色、仅160KB

HTML CSS标签

<html >
<body style="margin:0;overflow:hidden">
    <div>
     <table style="width:100%;height:100%">
         <!--<tr>
             <td>
             <div style="" align="center" >
                  here is header ling
             </div>
             </td>
         </tr>-->
      <tr>
       <td style="height:100%;">
        <div style="height:100%;overflow:auto;">
         
                 <div style="width:60px;height:150;background-color:red">
                     sadlfajsdl
                 </div>
          
        </div>
       </td>
      </tr>
      <tr>
          <td align="right"> 
              <div style="position:absolute;top:auto;bottom:2px;right:18px;">
         &nb


相关文档:

CSS Hack 总结


浏览器越来越多,不同的浏览器,不同的版本在页面的渲染上都各不相同。这让网页开发人员很头疼,为了能兼容各个浏览器,人们挖掘出了很多 CSS Hack。下面进行一下总结,如果还有其他的 CSS Hack 欢迎提供。
一) 针对 IE 的 Hack
大部分 CSS Hack 都是针对 IE 的,这是用于我们的 IE "坚强"所致,尤其是 IE6。
#test { ......

CSS命名规范

CSS命名规范
页头:header
登录条:loginbar
标志:logo
侧栏:sidebar
广告:banner
导航:nav
子导航:subnav
菜单:menu
子菜单:submenu
搜索:search
滚动:scroll
页面主体:main
内容:content
标签页:tab
文章列表:list
提示信息:msg
小技巧:tips
栏目标题:title
加入:joinus
指南:guil ......

php正则取嵌套html标签

<?php
$s = <<<html
<html>
<head>
<title>nested tag test</title>
<mce:script type="text/javascript"><!--
alert('fdsafdasfasd');
// --></mce:script>
</head>
<body>
<div id=0>
<div id=1><img name="im ......

html断词

<mce:style type="text/css"><!--
#summary{word-wrap:break-word;width:500px;margin: 0px;padding: 0px;};
.formIn th{white-space: nowrap;}
.formIn{ margin-left: 90px;}

--></mce:style><style type="text/css" mce_bogus="1"> #summary{word-wrap:break-word;width:50 ......

调整html界面笔记整理 不断更新

一、img+文字 在一个div 里面如何居中对齐?
img和文本是两种不同的节点 所以用的方法也不一样
文字主要依靠 父节点的行高来居中
而img需要的是自身的垂直中齐属性
div {line-heiht:25px;height:25px;}
div img {vertical-align:middle;}
例如:
<div id="buttons">
     <img src= ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号