IE this css template

Status
Not open for further replies.

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
ok, when i try to use this template in IE it messes up. It doesn't show, so I am wondering if you can IE this template

Code:
/* CSS Document */

* {
	margin: 0;
	border: 0;
	padding: 0;
	}
	
body {
	background-color: #F7FDFF;
	font-family: "Trebuchet MS",sans-serif;
	}
	
.clearfix:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
font-size: 0;
}

.clearfix {
display: inline;
}  

    * html .clearfix {height: 1%;}
	.clearfix {display: block;}

#container {
	margin: 0 auto;
	width: 800px;
	background-color: #F3F3F3;
	border-left: 8px solid #A9B9BF;
	border-right: 8px solid #A9B9BF;
	padding-bottom: 45px;
	}
	
h1 {
	background-color: #383E40;
	border-bottom: 1px solid #666;
	height: 19px;
	color: #CCC;
	font-size: 12px;
	padding: 3px 10px;
	}
	
h2 {
	background-color: #E1F7FF;
	height: 110px;
	font-size: xx-large;
	color: #333;
	letter-spacing: -3px;
	padding: 30px 40px;
	border-top: 1px solid #9FD6EA;
	}


#navigation {
	height: 30px;
	background: #383E40;
	list-style-type: none;
	}
	
#navigation li {
	float: left;
	text-align: center;
	border-right: 1px solid #A3A3A3;
	}
	
#navigation a {
	width: 199px;
	display: block;
	height: 26px;
	font-size: 16px;
	color: #CCC;
	text-decoration: none;
	padding-top: 4px;
	}
	
#navigation a:hover {
	background-color: #9D9D8F;
	}
	
#quotes {
	list-style-type: none;
	float: right;
	width: 550px;
	height: 50px;
	background-color: #919191;
	border-left: 250px solid #9D9D9D;
	}

#quotes_3 {
	list-style-type: none;
	float: right;
	width: 550px;
	height: 75px;
	background-color: #919191;
	border-left: 250px solid #9D9D9D;
	}
	
h3 {
	font-size: 14px;
	color: #333;
	font-style: italic;
	float: left;
	margin-left: 10px;
	}

#quotes p {
	font-size: 12px;
	color: #333;
	float: right;
	margin: 2px 20px;
	}
	
#introductionnews {
	float: left;
	width: 540px;
	margin: 5px;
	}
	
#intro {
	font-size: 16px;
	color: #CCC;
	font-style: italic;
	background: #333;
	padding: 5px;
	border-bottom: 4px solid #666;
	}
	
#news {
	margin-top: 10px;
	}
	
h4 {
	font-size: 16px;
	padding-left: 10px;
	background-color: #383E40;
	color: #F1FCFF;
	margin-top: 10px;
	}
	
#news p {
	background-color: #F1FCFF;
	padding: 15px;
	}
	
#recentwork {
	width: 243px;
	float: right;
	background-color: #FDFFFF;
	margin: 5px;
	margin-left: 0;
	border: 1px solid #A9B9BF;
	}
	
#recentwork ul {
	list-style-type: none;
}

h5 {
	height: 35px;
	background-color: #BFD2D9;
	color: #383E40;
	font-size: 22px;
	font-style: italic;
	border-right: 4px solid #383E40;
	}
	
h6 {
	height: 20px;
	background-color: #F1FCFF;
	font-size: 12px;
	padding-left: 10px;
	border-top: 1px solid #717C80;
	}
	
#recentwork img {
	border: 2px solid #717C80;
	margin-left: 44.5px;
	margin-top: 10px;
	}

#recentwork p {
	font-size: 12px;
	color: #FFF;
	background-color: #717C80;
	margin-top: 5px;
	padding: 5px;
	border-bottom: 1px solid #383E40;
	}
	
#footer {
	margin: 0 auto;
	margin-top: -30px;
	width: 800px;
	height: 30px;
	background-color: #717C80;
	border-left: 8px solid #A9B9BF;
	border-right: 8px solid #A9B9BF;
	text-align: center;
	}
	
#footer p, a {
	color: #F1FCFF;
	font-size: 14px;
	padding-top: 5px;
	}
	
a.black:link, a.black:visited, a.black:active, a.black:hover  {
  color: #000000;
  text-decoration: none;
  font-size: 8pt;
}

points will be around 1000 depending on how soon it gets to me
 

Spartan Erik

Retired
Messages
6,764
Reaction score
0
Points
0
it shows up fine for me (using IE7 beta 2).. but uh, links are hidden by the color scheme.. normal text appears fine. i just copied your css source file verbatim, made up an index in two seconds, and this is what i got:

image.jpg
 
Last edited:

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
ya i know what the css works, but not in ie 6.x+. its odd, it just doesn't show

for example try this

http://sterling.is-a-chef.com/site

it works in firefox but not IE

i would try to take a better picture, but i am at school and it works correctly at home

 
Last edited:
Status
Not open for further replies.
Top