xhtml+css VS table+css

歪歪 2004-09-06 02:21:18
如何将下面的table+css效果用div+css实现

<table border="1">
<tr><td height="30" bgcolor="#CCCCCC"
onMouseOut="this.filters[0].apply();this.style.background='#CCCCCC';this.filters[0].play();"
onMouseOver="this.filters[0].apply();this.style.background='#336699';this.filters[0].play();"
style="filter:blendtrans(duration=0.5);">dsfsdf</td></tr>
<tr><td height="30" bgcolor="#CCCCCC"
onMouseOut="this.filters[0].apply();this.style.background='#CCCCCC';this.filters[0].play();"
onMouseOver="this.filters[0].apply();this.style.background='#336699';this.filters[0].play();"
style="filter:blendtrans(duration=0.5);">dsfsdf</td></tr>
</table>
...全文
121 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
歪歪 2004-09-06
  • 打赏
  • 举报
回复
字符敲错了,晕倒,谢谢 ceocio(MS MVP)(IIS/DotNet) 问题解决
歪歪 2004-09-06
  • 打赏
  • 举报
回复
ceocio(MS MVP)(IIS/DotNet)

高,但是怪我没说清楚,我是做的导航菜单,应该是求教用<ul><li>标签实现那个效果的代码.

给你20分吧,给我要答案的剩下分全给.版主不要扣我信誉分哦,怪我昨晚为这问题把头搞晕了,做到三点过还没搞定.


谢谢 ceocio(MS MVP)(IIS/DotNet) 关注
wenhao676 2004-09-06
  • 打赏
  • 举报
回复
:)
ceocio 2004-09-06
  • 打赏
  • 举报
回复
<style>
#aaa {
border:1px solid #FF0000;
BACKGROUND-COLOR:#CCCCCC;
height:30;
width:100;
PADDING-TOP: 5px;
PADDING-BOTTOM: 2px;
filter:blendtrans(duration=0.5);}
</style>
<div id="aaa"
onMouseOut="this.filters[0].apply();this.style.background='#CCCCCC';this.filters[0].play();" onMouseOver="this.filters[0].apply();this.style.background='#336699';this.filters[0].play();">dsfsdf</div>
歪歪 2004-09-06
  • 打赏
  • 举报
回复
如题
顶一下先,偶最近才学习div+css,希望以后和大家多多交流

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧