易截截图软件、单文件、免安装、纯绿色、仅160KB

html 表格细边框处理

样式表如下:
table#border{
border-top:#000 1px solid;
border-left:#000 1px solid;
}
table#border td{
border-bottom:#000 1px solid;
border-right:#000 1px solid;
}
然后再要加边框的html文件中加上
<table id="border" border="0" cellspacing="0">


相关文档:

html断词

<mce:style type="text/css"><!--
#summary{word-wrap:break-word;width:500px;margin: 0px;padding: 0px;};
.formIn th{white-space: nowrap;}
.formIn{ margin-left: 90px;}

--></mce:style><style type="text/css" mce_bogus="1"> #summary{word-wrap:break-word;width:50 ......

struts1标签之html:optionsCollection

我们常常把一组集合放到每个页面的下拉框中,这里利用struts1的html:optionsCollection可以省很多事。
举个例子:
写一个公共静态方法:
public static Collection<LabelValueBean> getAllType() {
Collection<LabelValueBean> col = new ArrayList<LabelValueBean>();
col.add(new LabelValueBean( ......

word、ppt、excle 转换html,采用jacob

下载 jacob-1.15-M3
地址http://sourceforge.net/projects/jacob-project/
开发工具 MyEclipse8.0 绿色版、Tomcat 6.0 绿色版,JDK 1.6,XP系统,J2EE项目
在MyEclipse中配置Tomcat,使用自己安装的JDK
接着配置MyEclipse 的JRE
Window---Preferences--Java---Installed JREs--选择之前配置Tomcat时加入的jdk
把jacob ......

解决COM显示HTML,无法copy、paste的问题

这两个操作默认是被屏蔽了的,需要手动拦截按键消息然后处理。
如果嵌入HTML的窗口拿不到WM_KEYDOWN这样的消息,就只好直接在消息循环里拦截了:
{
while (0 != (r = GetMessage(&msg, NULL, 0, 0))) {
if (r == -1) {
break;
}
if (CheckIfDealCopyPaste(msg)) { ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号