我这个问题好象是dhtml的问题,我不懂这个,能否在帮我回答上面问题的同时介绍几本好的dhtml,js电子图书的下载地方,谢谢!

解决方案 »

  1.   

    文本,段落这样没有区域的元素不能使用CSS滤镜和一些效果.对这样的元素我们可以设置元素的Height和Width样式或坐标来实现。
      或是放入表格中..
     
    HTML&CSS%DHTML 手册..
    http://www.lostinet.com/download/reference/HTMLREF.CHM     2.42MJavaScript
    http://expert.csdn.net/Expert/topic/942/942792.xml?temp=.1360132
      

  2.   

    <p>这样的不行,那么有没有能够有名称的文本块标记呢?
    就象form里面的button,checkbox之类的?
      

  3.   

    <p id=mm align="left">text</p>
    <input type=button value=center onclick="mm.setAttribute('align', 'center')">
      

  4.   

    可是怎样设置样式表啊?
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <style type="text/css">
    <!--
    .unnamed1 {  font-size: 24px; color: #000099; text-decoration: underline}
    -->
    </style>
    </head><body bgcolor="#FFFFFF" text="#000000"><p id=s1>1_dasfdsdgadfg</p>
    <p id=s2>2_sdvfadgsfhgsfhg</p><input type="button" name="Button1" value="1" onclick="s1.setAttribute('align', 'center')">
      <input type="button" name="Button2" value="2" onclick="s1.setAttribute('class', 'unnamed1')">
    </body>
    </html>点了button1有反映,但是button2电了没反映啊?!
      

  5.   

    <input type="button" name="Button2" value="2" onclick="s2.className = 'unnamed1'">
    对于原来没有的属性不用 setAttribute()
      

  6.   

    可是align这个属性原来也没有,但就是好使啊?!