CSS在MyEclipse下无法载入问题。
在JSP页面上加入
<%String path = request.getContextPath();%>
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css">
下列方式貌似不行:
<link href="../css/style.css" rel="stylesheet" type="text/css">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
相关文档:
1、不要使用过小的图片做背景平铺。这就是为何很多人都不用 1px 的原因,这才知晓。宽高 1px 的图片平铺出一个宽高 200px
的区域,需要 200*200=40, 000 次,占用资源。
2、无边框。推荐的写法是 border:none;,哈哈,我一直在用这个。 border:0;
只是定义边框宽度为零,但边框样式、颜色还是会被浏览器解析,占用资 ......
今天开始做我们公司内部使用的ITSM系统的静态页面,这个页面好复杂,当然,我是一个才开始做页面的家伙,所以对我来说还有一定的难度。侧栏要折叠,菜单要Js控制,我本来以前是搞编程的,都是直接用人家的页面,css和js都只是会一点皮毛,现在伤到我的心了。
今天还有一个不幸的消息,我竟然挂了一科,大学4年的清白生活啊 ......
.net中 css 控制 GridView 样式
.net 2007-07-23 10:42:11 阅读1173 评论0 字号:大中小
.GridViewStyle
{
border-right: 2px solid #A7A6AA;
border-bottom: 2px solid #A7A6AA;
bo ......
内容:contentcontainer 导航:nav 侧栏:sidebar
栏目:column 标志:logo 页面主体:main
广告:banner 热点:hot 新闻:news
下载:download 子导航:subnav 菜单:menu
搜索:search 页脚:footer 滚动:scroll
版权:copyright 友情链接:friendlink 子菜单:submenu
内容:content ......
一、星号*
应该是个通配符。比如
<style type="text/css">
.roundBorder *
{
background: white;
display: block;
height: 1px;
overflow: hidden;
}
</style>
……
<b class="roundBorder">
<b class="round ......