In article <b-******************************@giganews.com>,
Jim Moe <jm***************@sohnen-moe.com> wrote:
The Doctor wrote: I tried to create an OO template based on PHP
and a Dreamweaver CSS. Everything works fine in FireFox
but not in IE. Is their a workaround?
My car is making a unfortunate noise. How do I fix it?
I got your attention. What go I need to supply you with the
correct information?
Here is the .ccs file:
/***********************************************/
/* 3col_leftNav.css */
/* Use with template 3col_leftNav.html */
/***********************************************/
/***********************************************/
/* HTML tag styles */
/***********************************************/
body{
font-family: Arial,sans-serif;
color: #fefbe0;
background-color: #ffffff;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
line-height: 1.166;
margin: 0px;
padding: 0px;
}
a{
color: #48588E;
text-decoration: bold;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
a:link{
color: #004191;
text-decoration: bold;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
a:visited{
color: #4f217b;
text-decoration: bold;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
a:hover{
color: #0066ff;
text-decoration: underline;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
h1{
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 112%;
color: #0000cc;
margin: 0px;
padding: 0px;
}
h2{
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 105%;
color: #0000dd;
margin: 0px;
padding: 0px;
}
h3{
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 100%;
color: #0000ee;
margin: 0px;
padding: 0px;
}
h4{
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 100%;
font-weight: normal;
color: #333333;
margin: 0px;
padding: 0px;
}
h5{
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 100%;
color: #334d55;
margin: 0px;
padding: 0px;
}
ul{
list-style-type: square;
}
ul ul{
list-style-type: disc;
}
ul ul ul{
list-style-type: none;
}
label{
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 100%;
font-weight: bold;
color: #334d55;
}
/***********************************************/
/* Layout Divs */
/***********************************************/
#masthead{
padding: 10px 0px 0px 0px;
border-bottom: 1px solid #cccccc;
margin-left: 0px;
background-color: #F6EOCA;
width: 100%;
}
#navBar{
float: left;
width: 20%;
margin: 0px;
padding: 0px;
background-color: #F4C398;
border-color: #e9a4ob;
color: #660000;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
}
#headlines{
float:right;
font: Helvetica, sans-serif;
width: 20%;
margin-top: 10px;
border-left: 1px solid #F6EOCA;
border-bottom: 1px solid #F6EOCA;
padding-right: 10px;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
#content{
float: left;
margin-left: 2px;
margin-top: 20px;
text-align: left;
color:#0000cc;
font: Helvetica, sans-serif;
width: 55%;
font-size: 115%;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
#content h3{
color: #0000CC;
font-size: 125%;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
#content h4{
color: #0000CC;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
/***********************************************/
/* Components */
/***********************************************/
#siteName{
margin: 0;
padding: 0 0 0 10px;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
/************* #globalNav styles **************/
#globalNav{
padding: 0px 0px 5px 10px;
border-bottom: 1px solid #CCC;
background-color: #F4C398;
color: #cccccc;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
#globalNav img{
display: block;
}
#globalNav a {
font-size: 90%;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
color: #0000cc;
padding: 0 4px 0 0;
background-color: #E98728;
}
/*************** #pageName styles **************/
#pageName{
margin: 0px;
padding: 0px 0px 0px 10px;
}
/************* #breadCrumb styles *************/
#breadCrumb{
font-size: 80%;
padding: 2px 0px 0 10px;
}
/************** .feature styles ***************/
..feature{
padding: 0px 0px 10px 10px;
font-size: 80%;
}
..feature h3{
padding: 30px 0px 5px 0px;
text-align: left;
}
..feature img{
float: left;
padding: 10px 10px 0px 0px;
}
/************** .story styles *****************/
..story{
clear: both;
padding: 10px 0px 0px 10px;
font-size: 80%;
}
..story p{
padding: 0px 0px 10px 0px;
}
/************* #siteInfo styles ***************/
#siteInfo{
clear: both;
border: 1px solid #cccccc;
font-size: 75%;
color: #cccccc;
padding: 10px 10px 10px 10px;
}
#siteInfo img{
padding: 4px 4px 4px 10px;
vertical-align: middle;
}
/************* #search styles ***************/
#search{
padding: 5px 0px 5px 10px;
border-bottom: 1px solid #cccccc;
background-color: #f9dfc8;
color:#660000;
font-size: 80%;
}
#search form{
margin: 0px;
padding: 0px;
color: #660000;
}
#search label{
display: block;
margin: 0px;
padding: 0px;
color: #660000;
}
/*********** #navBar link styles ***********/
#navBar ul a:link, #navBar ul a:visited {display: block;}
#navBar ul {list-style: none; margin: 0; padding: 0;}
/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {border-bottom: 1px solid #EEE;}
/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}
/*********** #sectionLinks styles ***********/
#sectionLinks{
position: relative;
margin: 0px;
padding: 0px;
background-color: #fceee1;
margin-top: 20px;
border-color: #F6EOCA;
border-bottom: 1px solid #fab66d;
font-size: 90%;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
#sectionLinks h3{
padding: 10px 0px 2px 10px;
color: #660000;
font-size: 100%;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
text-align: left;
}
#sectionLinks a {
display: block;
color:#0000CC;
border-top: 1px solid #cccccc;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
padding: 2px 0px 2px 10px;
}
#sectionLinks a:hover{
background-color: #dddddd;
}
/*********** .relatedLinks styles ***********/
..relatedLinks{
position: relative;
margin: 0px;
padding: 0px 0px 10px 10px;
font-size: 90%;
}
..relatedLinks h3{
padding: 10px 0px 2px 0px;
}
..relatedLinks a:link,
..relatedLinks a:visited {
display: block;
}
/************** #advert styles **************/
#advert{
padding: 30px 0px 10px;
}
#advert img{
display: block;
}
/************** #headlines styles **************/
#headlines{
margin: 3px;
padding: 10px 0px 20px 10px;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 80%;
border-color: #e9a4ob;
}
#headlines h5{
margin: 1px;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
font-size: 85%;
color:#0000cc;
}
#headlines p{
padding: 5px 0px 5px 0px;
margin: 2px;
font: Geneva, Verdana, Arial, helvetica, sans-serif;
}
--------------- end of CSS -----
And here is one of the files I am trying to convert:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- DW6 -->
<head>
<title>Welcome to </title>
<link rel="stylesheet" href="3col_leftNav.css" type="text/css">
</head>
<body >
<table align="center" cellpadding="0" cellspacing="0" border="0" width="92%">
<?php include("top.php") ?>
<tr><td width=93%>
<?php include("leftcolumn.php") ?>
<!--end navBar div -->
<?php include("rightcolumn.php") ?>
<!--end headlines -->
<!-- main area for content -->
<div id="content">
<div class="feature">
<!-- SNIP CONTENT -->
<!--end content and dymanic area -->
</p>
</div>
</div>
<?php include("bottom.php") ?>
</td></tr>
</table>
</body>
</html>
------- end of php using css ---
--
Member - Liberal International
This is
do****@nl2k.ab.ca Ici
do****@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
Canada's New CONservatives - Same old Tory.