码迷,mamicode.com
首页 >  
搜索关键字:text/css    ( 2049个结果
CSS 表单元素不继承body的字体属性
<style type="text/css"> <!-- body { ? ? font-family: ; ? ? font-size:; } input, label, select, option, textarea, button, fieldset, legend { ? ? font-family: ; ? ? font-size:; } --> </style>...
分类:Web程序   时间:2015-02-24 01:54:56    阅读次数:265
比较php中的各种比较函数
通过简单的代码,比较php中sort,natsort和usort的不同。<html> <head> <styletype="text/css"> li{ border:2pxsolidblack; padding:0.5em; width:auto; margin:0.5em; } p{ font-size:20px; color:blue; } olli{ border:1pxsolidred; margin:0px; } </st..
分类:Web程序   时间:2015-02-11 11:04:18    阅读次数:201
My First Hello World in PHP
这段代码展示了php的一些特性,包括字符串拼接,和C语言的相似性,获取客户端IP,以及输出表格。同时,也使用了基本的css语法。<html> <head> <styletype="text/css"> td{ border:2pxsolidred; padding:0.5em; } </style> </head> <body> ..
分类:Web程序   时间:2015-02-10 16:58:56    阅读次数:147
MVC3----JQuery UI 自动完成部件
1,标签<inputtype="text"data-autocomplete-source="@Url.Action("QuickSearch","Demo")"/>2,需要引用样式和脚本<linkhref="@Url.Content("~/Content/themes/base/jquery.ui.all.css")"rel="Stylesheet"type="text/css"/><scripttype="text/javascript"src="@..
分类:Web程序   时间:2015-02-06 18:59:21    阅读次数:144
华为轮播图
<!doctypehtml><html><head><metacharset="utf-8"><title>无标题文档</title><styletype="text/css">*{padding:0;margin:0;}li{list-style:none;}#div1{min-width:1000px;height:400px;position:relative;overflow:hidden;}#div1ul{..
分类:其他好文   时间:2015-02-04 16:50:29    阅读次数:249
css
个人总结,希望可以帮到初学者。一、Css层叠样式表,用于控制页面布局、颜色以及背景等。W3C组织所有。二、引入方式:内嵌式:<styletype="text/css">css代码</style>写在当前页面的head中。行内式:通过style属性,写在指定HTML标签上面。链接式:将Css代码样式表..
分类:Web程序   时间:2015-01-30 17:52:40    阅读次数:211
HTML&CSS学习笔记
// table row // table head // table data Atypeattribute that should always be equal to"text/css"Arelatt...
分类:Web程序   时间:2015-01-30 01:19:08    阅读次数:319
CSS的优先级别
1、样式的优先级 ????内联样式 > 内部样式 > 外部样式 ????以下的特例:外部样式会覆盖内部样式(不推荐内联样式) <html> <head> ????<style?type="text/css"> ????div?{?background:red;?}...
分类:Web程序   时间:2015-01-27 00:43:08    阅读次数:246
php CI框架中base_url 和site_url的区别
在CI框架中base_url得到的路径是不包括入口的文件index.php文件site_url包含了入口文件。当调用MVC模式的时候使用site_url加载页面<linkhref="<?phpechobase_url(‘assets/styles/main.css‘);?>"rel="stylesheet"type="text/css"/><formmethod="post"action="<..
分类:Web程序   时间:2015-01-26 15:19:11    阅读次数:480
ie6块元素和内联元素关于display:inline-block
大家知道在 IE6中 是不支持 display:inline-block的属性的;那我们来看下IE6中 块元素和内敛元素显示的效果和解决兼容的方法: ?????? <style type="text/css"> ????*{ padding: 0; margin:0;} ????...
分类:其他好文   时间:2015-01-26 13:47:21    阅读次数:257
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!