
把这个TABLE用CSS实现圆角
TABLE代码:预想的完成效果图在下面<TABLEwidth="80%"height="84"border=0align=centercellPadding=4ce...
TABLE代码:预想的完成效果图在下面<TABLE width="80%" height="84" border=0 align=center cellPadding=4 cellSpacing=0 class="border"> <TR> <TD class="title"><% sql="select class,classid from Aclass" rs.open sql,conn,1,1 if rs.eof and rs.bof then response.write "还没有任何栏目" else do while not rs.eof%>| <a href="default.asp?classid=<%=rs("classid")%>"><%if cint(rs("classid"))=cint(classid) then%><span class="style2"><%=rs("class")%></span><%else%><%=rs("class")%><%end if%></a> | <% rs.movenext loop end if rs.close %> </TD></TR> <TR> <TD height="38" class="title2"><% if classid>0 then sql="select Nclass,Nclassid from ANclass where classID="&cstr(classid) rs.open sql,conn,1,1 if rs.eof and rs.bof then response.write "还没有任何栏目" else do while not rs.eof%><a href="index.asp?classid=<%=classid%>&Nclassid=<%=rs("Nclassid")%>"><%=rs("Nclass")%></a> <% rs.movenext loop end if rs.close end if%> </TD></TR></table>
展开
2个回答
展开全部
单纯css圆角不是不能实现,但是稳定性很差,浏览器兼容不好,最稳妥的是用图片控制圆角效果的实现,当然你也可以用jquery实现圆角效果。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询