
XHTML+CSS
文章平均质量分 78
lxldtl
这个作者很懒,什么都没留下…
展开
-
脚本控制三行三列自适应高度DIV布局
这个例子是用JS脚本控制并列DIV的高度,通常在DIV布局中,自适应高度一直是比较头疼的问题,一般大都采用背景图、外套DIV、右栏覆盖左栏......来解决。现在加了脚本后,简单多了,假如有三个水平并列的DIV,fbox、mbox、sbox,只要在标签中写入:onload="P7_equalCols(fbox,mbox,sbox)",测试条件:ie5.x、ie6.0、FF1.0原创 2005-08-08 22:35:00 · 1498 阅读 · 0 评论 -
CSS and Round Corners: Build Boxes with Curves
This post comes from http://www.sitepoint.comOne of the main reasons why designers use images on a Webpage is to create curves and round corners. Its currently impossibleto create any kind of cur原创 2005-08-07 13:38:00 · 1298 阅读 · 0 评论 -
Introduction to Browser-Specific CSS Hacks
More and more Web developers are ditching tables and coming round to the idea of using CSS to control the layouts of sites. And, given the many benefits of using CSS, such as quicker download time, im原创 2005-08-07 13:41:00 · 1051 阅读 · 0 评论 -
DIV+CSS排版的图片查看器
CSS:#main{ background: #F1F1F1; width: 400px; margin: 0 auto; padding: 10px;}#dynloadarea{ width: 400px; height: 300px;}#dynloadarea img{ border: solid 2px #FFFFFF;}#thumbs{ list-style-type: none; m原创 2005-08-08 22:28:00 · 2171 阅读 · 0 评论 -
DIV+CSS构成的树型菜单
这是用DIV+CSS+JS构成的树型菜单,采用列表,符合WEB标准,在大多数WIN浏览器下,兼容性不错,xhtml见效果页,我现在做的是二个菜单,如果需要添加,可把<ul class="collapsed"id="submenuid2">......之间的内容加上去,"submenuid"加1,查看效果。CSS代码body { margin: 0px; padding: 0; fo原创 2005-08-08 22:29:00 · 1678 阅读 · 0 评论 -
表格对决CSS--一场生死之战
原文作者:Sergio Villarreal作者简介:墨西哥网页设计师,1993年接触网络,个人主页为Overcaffeinated.net原文出处:sitepoint.com原文发表时间:2004年5月27日前言我第一次在internet上冲浪用的还是哑终端。不久以后,明尼苏达州的一种单色的显示器居然可以通过服务器播放电影"巨蟒和圣杯"。当时没有鼠标,没有良好的操作界面,更不用说原创 2005-08-07 13:30:00 · 994 阅读 · 0 评论