码迷,mamicode.com
首页 >  
搜索关键字:text/css    ( 2049个结果
mime导致zabbix web页面css样式不能显示的问题
在一台新系统上yum装完zabbix后发现web页面不能正确显示css样式表。页面如下图:看了下目录发现.css文件和图片文件都在,不是文件路径的问题。百度了下发现是mime把text/css解析成text/html造成的。于是干脆找了一份比较全的mime.types文件放到/etc下,重命名为apache_mime.typ..
分类:Web程序   时间:2015-11-02 21:27:15    阅读次数:1470
CSS导航菜单简单示例
1、纵向菜单 纵向菜单代码示例 <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>纵向导航菜单</title> <style type="text/css"> *{ margin: 0; ...
分类:Web程序   时间:2015-10-30 09:23:22    阅读次数:320
html div 学习记录
div+CSSCSS需引用在head中例:<styletype="text/css"></style>对不同DIV不同的命名例用id例如:<divid=‘header‘>12</div>而此时如果需要来控制此div时在CSS中需使用‘#header{}’例:<html><head><styletype="text/css">#header{widt..
分类:Web程序   时间:2015-10-28 15:49:55    阅读次数:151
js仿京东轮播图效果
<!DOCTYPE?html> <html> <head> <meta?charset="UTF-8"> <title>Document</title> <style?type="text/css"> *{margin:0;padding:0;list-style:none;} a{text-decoration:?none;color:?#fff;} #flash{width:?...
分类:Web程序   时间:2015-10-27 11:48:33    阅读次数:280
点击a标签页面加载效果
<!DOCTYPE?html> <html> <head> <style?type="text/css"> /*data?loading*/ #nprogress?{?pointer-activities:?none?} #nprogress?.bar?{?background:?#a0ce4e;?position:?fixed;?z-index:?100;?...
分类:其他好文   时间:2015-10-21 19:29:19    阅读次数:200
CSS3 基本语法
一,基本语法 //1,css引入方法 ???? <link?rel="stylesheet"?type="text/css"?href="styles.css"> 2,css书写格式 h1,h2{ ???color:blue;font_size } 二,派生选择器: ??????? 根据元素其位...
分类:Web程序   时间:2015-10-21 12:50:18    阅读次数:257
简单的css js控制table隔行变色
(1)用expression 鼠标滑过变色: <style type="text/css"> <!--? table?{?background-color:#000000;?cursor:hand;?width:100%;?} td?{ onmouseover: expression(onmouseover=function (){this.style.bo...
分类:Web程序   时间:2015-10-14 18:16:28    阅读次数:327
兼容ie8 rgba()用法
<!--[if IE]> <style type="text/css"> .mark { background:transparent; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#c80e92cb,endColorstr=#c80e92cb); zoom: 1; } </style> <![endif]...
分类:其他好文   时间:2015-10-10 15:40:12    阅读次数:141
boostrap时间控件
1:引入相应的css和js ? ? ? css:? <link href="<%=path%>/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="<%=path%>/css/bootstrap-datetimepicker.css" rel="stylesheet" type="...
分类:其他好文   时间:2015-09-28 19:31:15    阅读次数:211
实现图片水平垂直居中
代码如下:<html> <head></head> <styletype="text/css"> .div1{ width:500px; height:500px; background-color:red; position:absolute; } .div2{ width:300px; height:200px; background-color:blue; position:absolute; top:50%; left:50..
分类:其他好文   时间:2015-09-24 19:37:46    阅读次数:147
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!