• λ我爱Aspx >> Asp.Net >> CSS样式的一点小疑惑
  • CSS样式的一点小疑惑

  • :aspxer  Դ:csdn  :2007-7-6 2:49:31  ؼ:
  • 在定义css样式表的时候有时后定义成.ButtonCss有时候定义成td.f,这种前面带个点.和不带.的有什么区别吗?

    google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";

    第2楼. 由 pulongywk 于 2007-5-30 11:44:12 发表

    带点的是用 class="点后面的名称" 引用的

    如:

    .test{border:2px solid #ff0000;}

    <div class="test">test</div>

    不带点的则是直接定义html标记

    td{border:3px solid #00ff00;}

    那么以下所以的有<td>ssss</td>中的内容都按照上面的定义

    第3楼. 由 pulongywk 于 2007-5-30 11:47:57 发表

    给个例子给你

    <!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=gb2312" />

    <title>无标题文档</title>

    <style type="text/css">

    Ҷƪл˵?
  • һƪ点鼠标,弹出一个层,并且跟随鼠标,如何作啊?---在线
    һƪ求超链效果,在线等速结