td

table 合并单元格

廉价感情. 提交于 2019-12-20 01:55:44
colspan 和rolspan,注意:rolspan和colspan同时存在之时,rolspan设置之后,table中第一个<tr>与之后的<tr>有点儿小区别<html> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/> </head> <style> body { margin:0; padding:20px; font-size:16px; font-family: 微软雅黑; } .text-body { margin-left: 28px; margin-top: 10px; line-height: 25px; font-size:16px; font-family: 微软雅黑; } p, table, caption, td, tr, th { margin:0; padding:0; font-weight:normal; font-family: 'Microsoft Yahei'; } p { margin-bottom:15px; } table { border-collapse:collapse; margin-bottom:15px; } table td, table th { padding:5px; padding-left:15px;

freemark 转义

前提是你 提交于 2019-12-19 18:29:48
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 第一种方法: <#escape x as x?html> <#list list.content as item> <tr> <td><#if item.user??>${item.user.nickName!}</#if></td> <td> <#if item.type==1> 意见 <#elseif item.type==2> 投诉 <#elseif item.type==3> 屏蔽 </#if> </td> <td>${item.user.mobile!}</td> <td>${item.appContentId!}</td> <td>${item.contacts!}</td> <td>${item.data!}</td> <td>${item.appVersion!}</td> <td>${item.requestSystem!}</td> <td>${item.requestModel!}</td> <td>${item.requestIp!}</td> <td>${item.createdTime!}</td> </#list> </#escape> 需要加入的代码就是: <#escape x as x?html> </#escape> 第二种方法: <#list list.content as

html和css基础

落花浮王杯 提交于 2019-12-19 09:47:47
1, HTML 全称 Hyper Text Markup Language(超文本标记语言) 扩展XML:Extendsible Markup Language(可扩展性标记语言) 2, CSS 是一种表现样式 3, js 则是一种行为,控制网页的行为。 编写html 文档的注意点 01.所有标签字母均小写。 02.有开始就要有闭合标签 03.每个层次的标签有一定程度的缩进。 注意:如果发现body 内书写了内容,用浏览器打开后发现没有内容,那么 就需要检查下title 标签有没有闭合。 标签 01.h 标签:从h1 到h6 字体逐渐减小。 效果:自身加粗,并且可以控制字号。 02.p 标签:和其他的内容行之间有一个空行。 03.br 换行标签:是自身闭合标签。<br/> 04.hr 水平线标签,是自身闭合标签。 05.strong(加粗)、06.em(倾斜) 07.特殊符号:所有的特殊符号都是包括在&;中 空格:  大于号:> 小于号:< 双引号:" 版权符号:© 08. 图片标签 <img src=”.jpg” alt=“。。” /> 10. 超链接 分类:页面间链接,锚链接,功能性链接。 11. 页面间链接 <a href=”http://www.baidu.com”>去百度</a> 12.锚链接 : 同页面间锚链接 分两步:第一步:在页面目标位置设置一个锚记。<a name

Java Web应用案例 购物网(三)

爷,独闯天下 提交于 2019-12-19 06:20:53
Java Web应用案例 购物网(三) (十)CSS样式文件 在web目录里常见css子目录,在里面创建main.css文件: /* 样式 */ body { margin: 0px ; text-align: center ; background: url ( "../images/frontBack.jpg" ) no-repeat ; background-size: 100% } table { margin: 0 auto ; font-size: 14px ; color: #333333; border-width: 1px ; border-color: khaki ; border-collapse: collapse ; } table th { border-width: 1px ; padding: 8px ; border-style: solid ; border-color: gainsboro ; background-color: honeydew ; } table td { border-width: 1px ; padding: 8px ; border-style: solid ; border-color: gainsboro ; background-color: #ffffff; } /*登录页面样式*/ .login {

07HTML5学习之表格练习01用CSS设置表格样式

僤鯓⒐⒋嵵緔 提交于 2019-12-19 05:30:35
文章目录 1 需完成表格样式图 2 步骤拆解 3 代码总结 1 需完成表格样式图 2 步骤拆解 分析图片可以发现以下要素: 表格标题,使用 <caption> 标签设置,代码如下: < caption > Lighthouse Island Bistro Specially Coffee Menu </ caption > 表格表头,使用 <tr> 和 <th> 标签设置,代码如下: < tr > < th > Specialty Coffee </ th > < th > Description </ th > < th > Price </ th > </ tr > 表格单元格,使用 <tr> 和 <td> 标签设置,代码如下: < tr > < td > Lite Latte </ td > < td > Indulge in a shot of espresso with steamed, skim milk. </ td > < td > $3.50 </ td > </ tr > < tr > < td > Mocha Latte </ td > < td > Choose dark or mile chocolate with steamed milk. </ td > < td > $4.00 </ td > </ tr > < tr > < td > MCP

如何使用SmartQueryWebPart

依然范特西╮ 提交于 2019-12-19 01:57:30
SmartQuery是一个WSS(MOSS)列表查询解决方案,可以给WSS的所有列表添加字段查询的功能 使用步骤: 1)请先到: http://www.cnblogs.com/KimhillZhang/archive/2009/07/24/1530299.html 处下载压缩文件; ----------下面的操作跟添加一个Web Part操作是一个样的;----------- 2) 将 CodeArt.SharePoint.CamlQuery.dll 和 CodeArt.SharePoint.SmartQuery.dll 加入 GAC 。 3 )在站点的 web.config 的 <SafeControls> 节点下添加 webpart 声明: 只是要在SafeControls节点下添加 AllowRemoteDesigner="True" 4 )将示例查询布局用户控件 CodeArt_ExampleQueryLayout.ascx 和 CodeArt_ExampleQueryLayout2.ascx 复制到 5 )进入 > Web 部件库 > 新建 Web 部件 页面,添加 CodeArt.SharePoint.SmartQuery.SmartQueryWebPart 。 6 )进行测试:示例控件是为 Student 列表开发的,因此,转到一个任务列表的 AllItem.aspx

HTML 表格 做个人简历

别说谁变了你拦得住时间么 提交于 2019-12-18 19:48:43
根据老师上课讲的常用标签与表格的应用 终于做出了第一个网页版的个人简历 虽然作出来了 但是感觉其中方法有点儿问题 还需要进一步的改进中……<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>唐枫的个人简历</title> </head> <body leftmargin="100" rightmargin="100" bgcolor="#FFFFCC"> <font face="叶根友毛笔行书2.0版" size="+6"><center><b>个人简历</b></center></font> <table width="800" height="1320" border="1" cellpadding="0" cellspcing="0" align="center"> <tr height="60" align="center"> <td

idea中完成简单的搜索

Deadly 提交于 2019-12-18 15:12:10
一.简单的搜索功能 1:mapper.xml文件: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.google.crm.dao.SearchItemDao"> <select id="getItemList" resultType="SearchItem"> SELECT a.id, a.title, a.sell_point, a.price, a.image, b. NAME category_name, c.item_desc FROM tb_item a LEFT JOIN tb_item_cat b ON a.cid = b.id LEFT JOIN tb_item_desc c ON a.id = c.item_id WHERE a.`status` = 1 </select> </mapper> 2:model模型创建 SearchItem.java private String id; private String title; private String sell

西蒙购物网(下)

社会主义新天地 提交于 2019-12-18 12:45:41
1、准备图片资源 在web目录里创建images目录,存放项目所需图片文件 图片素材下载链接:[https://pan.baidu.com/s/1XH4Z7iQ01uZCS1LEmADZAw] 提取码:v7rx 2、创建css样式文件 在web目录里常见css子目录,在里面创建main.css文件 /* 样式 */ body { margin: 0px; text-align: center; background: url("../images/frontBack.jpg") no-repeat; background-size: 100% } table { margin: 0 auto; font-size: 14px; color: #333333; border-width: 1px; border-color: khaki; border-collapse: collapse; } table th { border-width: 1px; padding: 8px; border-style: solid; border-color: gainsboro; background-color: honeydew; } table td { border-width: 1px; padding: 8px; border-style: solid; border-color

西蒙购物网前端显示效果

你说的曾经没有我的故事 提交于 2019-12-18 11:01:25
一、准备图片资源 图片素材下载链接:https://pan.baidu.com/s/1XH4Z7iQ01uZCS1LEmADZAw 提取码:v7rx 二、前端样式 css /* 样式 */ body { margin: 0px; text-align: center; background: url("../images/frontBack.jpg") no-repeat; background-size: 100% } table { margin: 0 auto; font-size: 14px; color: #333333; border-width: 1px; border-color: khaki; border-collapse: collapse; } table th { border-width: 1px; padding: 8px; border-style: solid; border-color: gainsboro; background-color: honeydew; } table td { border-width: 1px; padding: 8px; border-style: solid; border-color: gainsboro; background-color: #ffffff; } /*登录页面样式*/ .login {