当前位置: 代码迷 >> HTML/CSS >> html 网页属性小结
  详细解决方案

html 网页属性小结

热度:120   发布时间:2012-11-08 08:48:11.0
html 网页属性总结
设置body的与边界的距离:<body style="margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;">

设置div的与边界距离:<div style="float:left;margin-left:10px 0px 0px 10px;">

设置div的绝对距离:<div style="position:absolute;margin:20px 0px 0px 100px;vertical-align: top">

手型的样式:cursor:hand

css加入背景图片:.topbgImg{
background-image: url("images/head.gif");
}

table的属性:<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">

td设置边界属性:<TD style="BORDER-RIGHT: #8ab6db 1px solid;BORDER-left: #8ab6db 1px solid;" align="center" colspan="17">

导入图片属性:<IMG src="images/choice_goods_b.gif">

导入js文件:<script type="text/javascript" src="js/Acustomize.js" >

当组件大于图片是否重复显示:background-repeat: no-repeat;

fieldset:<fieldset>
        <legend>Logo customize</legend>
          <label><A>Input path:</A></label>
          <html:file property="file"></html:file><br>
       </fieldset>

文本样式属性:text-decoration: underline /none
  相关解决方案