问题描述
最好有例子的,我的E-Mail:qjb_ok@126.comhttp://www.ek51.com/CN/Corporation/ShowList.aspx像商家大全搜索结果那样的列表样式。谢谢!!
解决方案
解决方案二:
up
解决方案三:
你发的那个网站上的css:body,td,tr{font-family:Arial,"宋体";font-size:12px;color:#666666;margin:0px0px0px0px;line-height:20px;}/*A:link{text-decoration:none;color:#666666;}A:visited{text-decoration:none;color:#666666;}A:hover{text-decoration:none;color:#0079df;}*/a{color:#0b7ac0;text-decoration:none}a:hover{color:#f60;text-decoration:underline}a.btnRed:link{color:#cc0000;text-decoration:none;line-height:22px;}a.btnRed:visited{text-decoration:none;color:#cc0000;line-height:22px;}a.btnRed:hover{text-decoration:none;color:red;line-height:22px;}a.btnWhite:link{color:#FFFFFF;text-decoration:none;}a.btnWhite:visited{text-decoration:none;color:#FFFFFF;}a.btnWhite:hover{text-decoration:none;color:#0050a2;}a.btnBlack:link{color:#000000;text-decoration:none;}a.btnBlack:visited{text-decoration:none;color:#000000;}a.btnBlack:hover{text-decoration:none;color:#0050a2;}a.btnBlue:link{color:#0096ff;}a.btnBlue:visited{color:#0096ff;}a.btnBlue:hover{color:#666666;}a.btnBlue02:link{color:#0079ce;font-size:16px;font-weight:bold;}a.btnBlue02:visited{color:#0079ce;font-size:16px;font-weight:bold;}a.btnBlue02:hover{color:#0096ff;font-size:16px;font-weight:bold;}a.btnBlue03:link{color:#2977c1;text-decoration:none;}a.btnBlue03:visited{color:#2977c1;text-decoration:none;}a.btnBlue03:hover{color:#6daeec;text-decoration:none;}a.btnBlue04:link{color:#2977c1;text-decoration:underline;}a.btnBlue04:visited{color:#2977c1;text-decoration:underline;}a.btnBlue04:hover{color:red;text-decoration:underline;}a.btnYellow:link{color:#b56200;line-height:22px;}a.btnYellow:visited{color:#b56200;line-height:22px;}a.btnYellow:hover{color:#ffa234;line-height:22px;}a.btnGlay:link{color:#666666;line-height:22px;}a.btnGlay:visited{color:#666666;line-height:22px;}a.btnGlay:hover{color:#0079cf;line-height:22px;}a.btnGlay01:link{font-family:Arial;font-size:10px;color:#666666;}a.btnGlay01:visited{font-family:Arial;font-size:10px;color:#666666;}a.btnGlay01:hover{font-family:Arial;font-size:10px;color:#999999;}a.btnGlay02:link{color:#666666;text-decoration:underline;}a.btnGlay02:visited{color:#666666;text-decoration:underline;}a.btnGlay02:hover{color:#999999;text-decoration:underline;}a.btnPurple:link{color:#b653c4;text-decoration:none;}a.btnPurple:visited{color:#b653c4;text-decoration:none;}a.btnPurple:hover{color:#e489f1;text-decoration:none;}.table{background-color:#fafafa;border-bottom:#e1e1e11pxsolid;border-left:#e1e1e11pxsolid;border-right:#e1e1e11pxsolid;}.table01{border-right:solid1px#e99ff3;border-bottom:solid1px#e99ff3;border-left:solid1px#e99ff3;background-color:#FFFFFF;}.table02{border-right:solid1px#93ccff;border-bottom:solid1px#93ccff;border-left:solid1px#93ccff;background-color:#FFFFFF;}.foucheight01{line-height:30px;}.table03{background-color:#ffffff;border-bottom:#dbdbdb1pxsolid;border-left:#dbdbdb1pxsolid;border-right:#dbdbdb1pxsolid;}.table04{background-color:#f8ffff;border:1pxsolid#7cb6e6;}.table05{border-bottom:#93ccff1pxsolid;border-top:#93ccff1pxsolid;border-right:#93ccff1pxsolid;border-left:#93ccff1pxsolid;}.text01{color:#FFFFFF;}.text02{color:#cc0000;}.text03{font-family:Arial;font-size:12px;color:#000000;}.text04{color:#999999;}.text05{color:#0e75cb;}.text06{color:#FFFFFF;font-weight:bold;}.text07{color:#666666;font-weight:bold;}.text19{color:#ff0000;font-weight:bold;}.text08{font-size:16px;color:#0e75cb;font-weight:bold;}.text09{color:#cc0000;font-weight:bold;}.text10{color:#0e75cb;font-weight:bold;font-size:13px;}.text11{color:#ffffff;font-size:13px;font-weight:bold;}.text12{font-size:11px;color:#cc0000;font-weight:bold;}.text13{font-size:12px;color:#000000;font-weight:bold;}.text14{font-size:12px;color:#000000;}.text15{font-family:"宋体";font-size:14px;color:#666666;font-weight:bold;}.text16{font-size:13px;color:#cc0000;font-weight:bold;}.text17{font-family:Arial,"宋体";font-size:12px;color:#666666;line-height:40px;}.text18{font-size:15px;font-weight:bold;color:#0e75cb;}.line{border-top:dashed1px#999999;border-right-style:none;border-bottom-style:none;border-left-style:none;}.borderStyle{font-family:"宋体";font-size:12px;border-bottom-width:1px;border-bottom-style:dashed;border-bottom-color:#999999;}.button{height:30px;width:80px;}.button1{font-size:12px;}.line1{border-top:dashed1px#CC0000;}.rightbox4_h1{background-image:url(/CN/images/box_03.jpg);border-bottom:1pxsolid#A5B5C0;padding-left:5px;}.rightbox4{border:1pxsolid#A5B5C0;float:inherit;margin-bottom:5px;width:682px!important;width:684px;}.rightbox4_1{border-bottom:1pxsolid#A5B5C0;text-align:left;}
解决方案四:
或者像论坛这种样式是怎么绑定的,能发例子给我吗?
解决方案五:
我是菜鸟,就是不知道怎么应用到datalist里面的样式里
解决方案六:
你可以看一下datalist生成的html代码是什么.然后就明白了..他无非也是生成一些<table>,..等html元素.难道你不会给一个table应用样式吗?
解决方案七:
能不能做了发个例子给我看一下,因为我原来一直做的是C/S项目,现在要做B/S项目了刚刚接触,好多东西都得学习.谢谢楼上的了!!