日期:2014-05-17  浏览次数:20545 次

Repeater 读数据与CSS结合
<ul class="featureUL">
  <li class="featureBox">
  <div class="box">
  <a rel="example_group" href="images/anli1.jpg">
  <img alt="首页模板" src="images/anli1.jpg" width="359" height="178">
  </a><span class="whiteword">文字介绍文字介绍</span><span class="blackbg"></span></div>
  <div class="box">
  <a rel="example_group" href="images/anli1.jpg">
  <img alt="首页模板" src="images/anli1.jpg" width="359" height="178">
  </a><span class="whiteword">文字介绍文字介绍</span><span class="blackbg"></span></div></li><li class="featureBox">
  <div class="box">
  <a rel="example_group" href="images/anli1.jpg">
  <img alt="首页模板" src="images/anli1.jpg" width="359" height="178">
  </a><span class="whiteword">文字介绍文字介绍</span><span class="blackbg"></span></div>
  <div class="box">
  <a rel="example_group" href="images/anli1.jpg">
  <img alt="首页模板" src="images/anli1.jpg" width="359" height="178">
  </a><span class="whiteword">文字介绍文字介绍</span><span class="blackbg"></span></div></li><li class="featureBox">
  <div class="box">
  <a rel="example_group" href="images/anli1.jpg">
  <img alt="首页模板" src="images/anli1.jpg" width="359" height="178">
  </a><span class="whiteword">文字介绍文字介绍</span><span class="blackbg"></span></div>
  <div class="box">
  <a rel="example_group" href="images/anli1.jpg">
  <img alt="首页模板" src="images/anli1.jpg" width="359" height="178">
  </a><span class="whiteword">文字介绍文字介绍</span><span class="blackbg"></span></div></li></ul>



------解决方案--------------------
<ul class="featureUL">

<asp:Repeater ID="rpCategory" runat="server"> 
<ItemTemplate>
<li class="featureBox">
<div class="box">
<a rel="example_group" href="