应用IE6所不支持的CSS的type选择器
网站建设 2023-01-28 21:38www.1681989.com免费网站
应用IE6所不支持的CSS的type选择器,可以精确的选择各种表单元素。
简单,明了,可以分区出各个put控件形态。
type选择器,IE6之前的对web标准支持的不太好的浏览器不能支持。致命……
<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://.w3./TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://.w3./1999/xhtml" >
<head>
<title>IE6所不支持的CSS的type选择器 - .52CSS.</title>
<meta name="Keywords" content=""/>
<meta name="Description" content=""/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
put[type="text"]
{
background-color:#FFC;
}
put[type="password"]
{
background-image:url(BG.gif);
}
put[type="submit"]
{
background-color:blue;
color:white;
}
put[type="reset"]
{
background-color:navy;
color:white;
}
put[type="radio"]
{
/In FF,Some radio style like background-color not been supported/
marg:10px;
}
put[type="checkbox"]
{
/In FF,Some checkbox style like background-color not been supported/
marg:10px;
}
put[type="button"]
{
background-color:lightblue;
}
</style>
</head>
<body>
<dl>
<dt>This is normal textbox:<dd><put type="text" name="">
<dt>This is password textbox:<dd><put type="password" name="">
<dt>This is submit button:<dd><put type="submit">
<dt>This is reset button:<dd><put type="reset">
<dt>This is radio:<dd><put type="radio" name="ground1"> <put type="radio" name="ground1">
<dt>This is checkbox:<dd><put type="checkbox" name="ground2"> <put type="checkbox" name="ground2">
<dt>This is normal button:<dd><put type="button" value="i'm button">
</dl>
</body>
</html>
简单,明了,可以分区出各个put控件形态。
type选择器,IE6之前的对web标准支持的不太好的浏览器不能支持。致命……
复制代码
代码如下:<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://.w3./TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://.w3./1999/xhtml" >
<head>
<title>IE6所不支持的CSS的type选择器 - .52CSS.</title>
<meta name="Keywords" content=""/>
<meta name="Description" content=""/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
put[type="text"]
{
background-color:#FFC;
}
put[type="password"]
{
background-image:url(BG.gif);
}
put[type="submit"]
{
background-color:blue;
color:white;
}
put[type="reset"]
{
background-color:navy;
color:white;
}
put[type="radio"]
{
/In FF,Some radio style like background-color not been supported/
marg:10px;
}
put[type="checkbox"]
{
/In FF,Some checkbox style like background-color not been supported/
marg:10px;
}
put[type="button"]
{
background-color:lightblue;
}
</style>
</head>
<body>
<dl>
<dt>This is normal textbox:<dd><put type="text" name="">
<dt>This is password textbox:<dd><put type="password" name="">
<dt>This is submit button:<dd><put type="submit">
<dt>This is reset button:<dd><put type="reset">
<dt>This is radio:<dd><put type="radio" name="ground1"> <put type="radio" name="ground1">
<dt>This is checkbox:<dd><put type="checkbox" name="ground2"> <put type="checkbox" name="ground2">
<dt>This is normal button:<dd><put type="button" value="i'm button">
</dl>
</body>
</html>
网站设计
- 静宁会SEO的网站建设公司:全面提升您的网络影
- 提升在线业务的关键:选择最佳的丽水网站建设
- 浙江网站优化发展潜力如何
- 井研专业的网站建设公司:打造您的在线品牌
- 灵山SEO网站建设公司:提升您的在线业务表现
- 蒙城网站建设优化公司:提升您网站表现的理想
- 阳谷企业网站优化:提升线上业务力的关键
- 樟树专业的网站建设公司:打造您在线业务的坚
- 通河百度SEO排名的策略与技巧
- 重庆百度快照排名如何进行精准的客户引流
- 重庆百度快照排名
- 常宁便宜的建站公司:助您轻松打造在线业务
- 巫溪百度网站优化:提升网站曝光率与流量的关
- 湖北整站优化怎么做才能放大客户需求
- 闸北网站建设多少钱?全面解析与预算规划
- 辽宁企业网站优化怎么做电话营销