自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

About program

C/C++/Java

  • 博客(13)
  • 收藏
  • 关注

原创 脚本控制三行三列自适应高度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 1432

原创 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 1625

原创 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 2101

原创 编写 "纯HTML" jsp应用--学会使用 JSTL

刚开始用JSP做web应用的时候,象使用PHP,ASP一样用JSP,在HTML代码中夹杂着一大堆的 scriptlet---即java 代码段。由于本人的“排版”技术还算可以,开始的时候觉得挺好,编写“效率”高,调试又方便!到了后来才知道---这是一种极其愚蠢的做法儿----JSP诞生的时候就已经明确与ASP,PHP划清了界限,使用javaBean、Servlet可以有效的将HTML中夹杂

2005-08-07 23:53:00 969 3

原创 如何成为一个成功的Jsp程序员?

一个普通的错误是把JSP当作简化的 Java。它不是,(事实上, JSP 是简化的 servlets 。)程序员通常试着没有学习要求的支持技巧而 直接学习 JSP 。JSP 是一个衔接技术,并且成功地连接你需要理解的另外的技术。如果你已经知道 Java,HTML 和 Javascript,这意味着 JSP 将确实是简单的。 需要成为一个成功的 JSP 程序员可以参考这个时间表。请注意下列:

2005-08-07 23:07:00 910

原创 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 972

原创 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 1267

原创 表格对决CSS--一场生死之战

原文作者:Sergio Villarreal作者简介:墨西哥网页设计师,1993年接触网络,个人主页为Overcaffeinated.net原文出处:sitepoint.com原文发表时间:2004年5月27日前言我第一次在internet上冲浪用的还是哑终端。不久以后,明尼苏达州的一种单色的显示器居然可以通过服务器播放电影"巨蟒和圣杯"。当时没有鼠标,没有良好的操作界面,更不用说

2005-08-07 13:30:00 961

原创 In the cold of night

Night fell, and all around usthe woods started to come alive. As the temperature dropped below zero,our usual lack of planning took a poignant turn: We still had about ahundred beers, five wine

2005-08-07 12:11:00 1054

原创 java: isn't it ironic?

From the Java book Im reading*:"Variable scope: No, this doesnt mean that we have variables that needto use mouthwash, although errors with varaible scope have been knownto make programmer

2005-08-06 21:41:00 983

原创 oh, r. kelly.

And tonights "What the Hell were you thinking" award goes to — R. Kelly.I just caught his new video I Wishon the TV. Whats up with this guy? One minute hes singing about howhe believes he c

2005-08-06 21:36:00 919

原创 benevolent care

This  post comes from little.yellow.differentIn yesterdays Chronicle, there was an article on reuniting North and SouthKorean families who hadnt seen each other since the Korean War(1950-53).

2005-08-06 21:31:00 896

原创 the first test

Today i have my blog on the web of csdn.netrecord some knowledge about c and c++ and Java

2005-08-06 20:33:00 789

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除