CSS 特纳商业中心 - 加州小型工业公寓穆列塔

/* CSS Document */

/* ---------------------------------------------------- 
Layout Formatting
---------------------------------------------------- */ 

html 
	{ 
	height : 100%; 
	margin : 0 auto; 
	padding : 0;
	background-color : #BDAAA0;
	}

body 
	{ 
	margin : 0 auto; 
	padding : 0;
	width : 100%; 
	font-size : 11px;
	font-family : Verdana, Arial, Helvetica, sans-serif;
	color : #403A25;
	line-height : 18px;
	text-align : left;
	background-color : #BDAAA0;
	}
	
p 
	{
	margin: 0px;
	}
	
div#headerBg
	{
	margin : 0 auto; 
	padding : 0;
	background-repeat : repeat-x;
	background-color : #BD1B21;
	width : 760px;
	height : 107px;
	border-top-width : 1px;
	border-right-width : 1px;
	border-bottom-width : 1px;
	border-left-width : 1px;
	border-top-style : none;
	border-right-style : solid;
	border-bottom-style : none;
	border-left-style : solid;
	border-top-color : #000000;
	border-right-color : #000000;
	border-bottom-color : #000000;
	border-left-color : #000000;
	}
	
div#header 
	{
	width : 760px;
	height : 107px;
	margin : 0 auto; 
	padding : 0;
	}
	
div#headerLeft
	{
	float : left;
	width : 214px;
	height : 107px;
	background-color : #9D8D85;
	}

div#headerRight 
	{
	float : right;
	width : 534px;
	padding-top : 28px;
	padding-left : 12px;
	height : 79px;
	background-color : #BD1B21;
	}
	
div#nav
	{
	margin : 0 auto; 
	padding : 0;
	background-repeat : repeat-x;
	background-color : #000;
	width : 760px;
	height : 25px;
	border-top-width : 1px;
	border-right-width : 1px;
	border-bottom-width : 1px;
	border-left-width : 1px;
	border-top-style : none;
	border-right-style : solid;
	border-bottom-style : none;
	border-left-style : solid;
	border-top-color : #000000;
	border-right-color : #000000;
	border-bottom-color : #000000;
	border-left-color : #000000;
	}
	
div#navContent
	{
	width : 760px;
	margin : 0 auto;
	padding : 0;
	}

div#navLeft
	{
	float : left;
	width : 214px;
	height : 25px;
	background-color : #000;
	}

div#navRight 
	{
	float : right;
	width : 546px;
	height : 25px;
	background-color : #000;
	}
	
div#wrapper 
	{
	margin: 0px auto 0px auto;
	padding : 0px;
	width : 760px;
	background : url(/img/inner-background.gif) repeat;
	overflow : auto;
	border-top-width : 1px;
	border-right-width : 1px;
	border-bottom-width : 1px;
	border-left-width : 1px;
	border-top-style : none;
	border-right-style : solid;
	border-bottom-style : none;
	border-left-style : solid;
	border-top-color : #000000;
	border-right-color : #000000;
	border-bottom-color : #000000;
	border-left-color : #000000;
	}
	
div#wrapperColor
	{
	margin: 0px auto 0px auto;
	padding : 0px;
	width : 760px;
	background : url(/img/inner-background-black.gif) repeat;
	overflow : auto;
	}
	
div#contentLeft
	{
	float : left;
	width : 214px;
	}

div#contentLeftSizes
	{
	width : 155px;
	height : 270px;
	padding-top : 27px;
	padding-left : 54px;
	padding-right : 5px;
	background-color : #BD1B21;
	text-align: right;
	}

div#contentRight 
	{
	float : right;
	width : 546px;
	margin-bottom: 15px;
	}
	
div#footer
	{
	width : 760px;
	margin : 0 auto; 
	padding : 0;
	border-top-width : 1px;
	border-right-width : 1px;
	border-bottom-width : 1px;
	border-left-width : 1px;
	border-top-style : solid;
	border-right-style : none;
	border-bottom-style : none;
	border-left-style : none;
	border-top-color : #000000;
	border-right-color : #000000;
	border-bottom-color : #000000;
	border-left-color : #000000;
	background-color : #BDAAA0;
	}
	
div#footerContent
	{
	margin : 0px auto;
	width : 760px;
	font-size : 9px;
	text-align : center;
	line-height : 23px;
	clear : both;
	}
	
/* ---------------------------------------------------- 
Buttons
---------------------------------------------------- */ 

#home
	{ 
	width : 39px; 
	height : 25px; 
	padding-left : 16px;
	margin-left : 12px;
	overflow : hidden; 
	background : url(/img/b-home.gif) top left no-repeat;
	display : block;
	float : left;
	text-indent : -99999px;
	} 
  
#home:hover
	{ 
	background-position : bottom left; 
	}
	
#location
	{ 
	width : 58px; 
	height : 25px; 
	padding-left : 16px;
	overflow : hidden; 
	background : url(/img/b-location.gif) top left no-repeat;
	display : block;
	float : left;
	text-indent : -99999px;
	} 
  
#location:hover
	{ 
	background-position : bottom left; 
	}
	
#availabilites
	{ 
	width : 87px; 
	height : 25px; 
	padding-left : 16px;
	overflow : hidden; 
	background : url(/img/b-availabilities.gif) top left no-repeat;
	display : block;
	float : left;
	text-indent : -99999px;
	} 
  
#availabilites:hover
	{ 
	background-position : bottom left; 
	}
	
#financing
	{ 
	width : 67px; 
	height : 25px; 
	padding-left : 16px;
	overflow : hidden; 
	background : url(/img/b-financing.gif) top left no-repeat;
	display : block;
	float : left;
	text-indent : -99999px;
	} 
  
#financing:hover
	{ 
	background-position : bottom left; 
	}
	
#contact
	{ 
	width : 54px; 
	height : 25px; 
	padding-left : 16px;
	overflow : hidden; 
	background : url(/img/b-contact.gif) top left no-repeat;
	display : block;
	float : left;
	text-indent : -99999px;
	} 
  
#contact:hover
	{ 
	background-position : bottom left; 
	}
	
#brochure
	{ 
	width : 63px; 
	height : 25px; 
	padding-left : 16px;
	overflow : hidden; 
	background : url(/img/b-brochure.gif) top left no-repeat;
	display : block;
	float : left;
	text-indent : -99999px;
	} 
  
#brochure:hover
	{ 
	background-position : bottom left; 
	}

/* ---------------------------------------------------- 
Link Formatting
---------------------------------------------------- */ 

div#contentRight a:link 
	{
	color : #BD1B21;
	background-color : transparent;
	text-decoration : underline;
	}

div#contentRight a:visited
	{
	color : #BD1B21;
	background-color : transparent;
	text-decoration : underline;
	}

div#contentRight a:hover
	{
	color : #403A25;
	background-color : transparent;
	text-decoration : underline;
	}

div#footerContent a:link 
	{
	color : #403A25;
	background-color : transparent;
	text-decoration : none;
	padding : 2px;
	}

div#footerContent a:visited
	{
	color : #403A25;
	background-color : transparent;
	text-decoration : none;
	padding : 2px;
	}

div#footerContent a:hover
	{
	color : #FFD400;
	background-color : #BD1B21;
	text-decoration : none;
	padding : 2px;
	}

#directions
	{
	width : 142px; 
	height : 31px; 
	overflow : hidden; 
	background : url(/img/b-getdirections.gif) top right no-repeat;
	display : block;
	float : left;
	text-indent : -99999px;
	} 
  
#directions:hover
	{ 
	background-position : bottom right; 
	}

/* ---------------------------------------------------- 
Content Formatting
---------------------------------------------------- */ 

.turnerLogo
	{
	padding-top : 10px;
	}
	
.leeLogo
	{
	padding-top : 20px;
	padding-bottom : 20px;
	}
	
#homeHeader
	{
	clear : both;
	width : 534px;
	height : 17px;
	padding-top : 7px;
	padding-left : 12px;
	background-color : #000;
	}
	
div#homeBulletsLeft
	{
	width : 253px;
	float : left;
	padding-top : 5px;
	padding-left : 15px;
	}

div#homeBulletsLeft p
	{
	padding-left : 22px;
	padding-bottom: 15px;
	}

div#homeBulletsLeft p a
	{
	color : #BD1B21;
	}
	
div#homeBulletsright
	{
	width : 253px;
	float : right;
	padding-top : 5px;
	padding-right : 20px;
	}
	
ul
	{
	list-style-type : square;
	list-style-image : url(/img/bullet.gif);
	margin-left : 26px;
	padding-left : 6px;
	}
	
#flashcontent 
	{
	width : 546px;
	}

#contactInfo 
	{
	float : left;
	padding-top : 75px;
	padding-left : 163px;
	}

.textButton 
	{
	font-weight : bold;
	text-transform : uppercase;
	text-align : center;
	cursor : pointer;
	}
	
.textButtonOvr
	{
	color : #BD1B21;
	font-weight : bold;
	text-transform : uppercase;
	text-align : center;
	cursor : pointer;
	}

CSS 中心内容

BODY { text-align: center; }
#centerItem { text-align: left; margin: auto; }

CSS 上下文CSS

P B { color: red }

CSS CSS中的IFRAME效果

.block {
	height: 300px;
	width: 200px;
	border: 1px solid #efefef;
	float: right;
	overflow: auto;
	clear: right;
}

CSS 条目中的滚动条

<style type="text/css">
.custom{
width: 200px; 
height: 200px; 
z-index:100; 
overflow: auto; 
border: px #000000 solid; 
background: #ffffff; 
}</style>
<script>
var tds = document.getElementsByTagName ('a');
for (var i = 0; i < tds.length; i++) {
timeString = tds[i].innerText;
if(timeString.match(/\d+:\d+ [ap]m\b/i)){
if(!tds[i].parentNode.parentNode.parentNode.parentNode.parentNode.tagName.match(/table/i)){break;}
 table = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;
stuff = tds[i].parentNode.parentNode.parentNode.previousSibling.lastChild;
inner = stuff.innerHTML
stuff.innerHTML="";
stuff.insertAdjacentHTML('afterBegin','<div class="custom">'+inner+'</div>');
 
}
}
</script>

CSS 删除Google笔记本文字

#gnotes-statusbar-lbl {
   display: none !important;
}

CSS C”»ハ??ç½®æ??>一个??®ãƒªãƒ³ã,¯ã,'ã,¯ãƒªãƒƒã,¯ã?? - 一个??是>一个?«ã,¢ã,|ãƒãƒ©ã ,¤ãƒ³ã??Œãƒ¨ã,³ã??«ä¼¸ã??³ã??|ã?? - 的ΔΣ¾ã??†的ΔΣ®ã,'é~²ã???? AE-¹æ³ •

a{
	overflow: hidden;
}

CSS 仅适用于IE7的CSS

<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="ie7.css" />
<![endif]– >

CSS [CSS]ッƒƒƒƒƒƒƒƒƒãƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ

<!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>
<title>Horizontal Drop Down Menus</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--[if lt IE 7]>
<script type="text/javascript">
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" over\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
<![endif]-->

<style type="text/css">
body {
	font: x-small Verdana, Arial, Helvetica, sans-serif;
}
* html body{
	font-size:xx-small;
 f\ont-size:x-small;
}
ul#nav, ul#nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	}

ul#nav  li {
	position: relative;
	float: left;
	width:149px;
}
	
#nav li ul {
	position: absolute;
	margin-left: -999em; /* hide menu from view */
	top: auto;
	left:0;
}

/* Styles for Menu Items */
ul#nav  li a {
	display: block;
	text-decoration: none;
	color: #777;
	background: #ffffcc; /* IE6 Bug */
	padding: 5px;
	border: 1px solid #ccc;
		margin-bottom:-1px;
	min-height:0;
	}
/* commented backslash mac hiding hack \*/ 
* html ul#nav  li a {height:1%;	position:relative;}
/* end hack */ 

/* this sets all hovered lists to red */
#nav li:hover a,#nav  li.over a,
#nav li:hover li a:hover,#nav li.over li a:hover {
   color: #fff;
   background-color: red;}

/* set dropdown to default */
#nav li:hover li a,#nav li.over li a {
   color: #777;
   background-color: #ffffcc;
}
#nav li ul li a { padding: 2px 5px; } /* Sub Menu Styles */
#nav li:hover ul,#nav li.over ul {margin-left:0; } /* show menu*/

</style>
</head>
<body> 
<ul id="nav"> 
  <li><a href="#">Home</a></li> 
  <li><a href="#">About</a> 
    <ul>
      <li><a href="#">History</a></li>
      <li><a href="#">Team</a></li>
      <li><a href="#">Offices</a></li>
    </ul>
  </li> 
  <li><a href="#">Services</a> 
    <ul>
      <li><a href="#">Web Design</a></li>
      <li><a href="#">Internet Marketing</a></li>
      <li><a href="#">Hosting</a></li>
      <li><a href="#">Domain Names</a></li>
      <li><a href="#">Broadband</a></li>
    </ul>
  </li> 
  <li><a href="#">Contact Us</a> 
    <ul>
      <li><a href="#">United Kingdom</a></li>
      <li><a href="#">France</a></li>
      <li><a href="#">USA</a></li>
      <li><a href="#">Australia</a></li>
    </ul>
  </li> 
</ul> 
</body>
</html>

CSS 即-VERT中等

<html>
<head>
	<title>Untitled</title>
<style type="text/css">
#outer {height: 58px;width: 60px; overflow: hidden; position: relative; border: 2px solid green;}
#outer[id] {display: table; position: static;}

#middle {position: absolute; top: 50%;} /* for explorer only*/
#middle[id] {display: table-cell; vertical-align: middle; position: static;}

#inner {position: relative; top: -50%} /* for explorer only */
/* optional: #inner[id] {position: static;} */
</style>
</head>

<body>

<ul >
  <li id="outer">
    <div id="middle">

	    <div id="inner">
      any text
     
    </div>
	</div>
  <li id="outer">
    <div id="middle">
	    <div id="inner">
      any text<br/>
	  sdbsdbdbsdfb
     
    </div>

	</div>
</ul>



</body>
</html>
http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
http://www.jakpsatweb.cz/css/priklady/vertical-align-final-solution-en.html

http://www.aspekt1.net/ms/dev/vertical-align.html