Hello, I am tyrying to OO redesign a PHP web Page(s) using a
Dreamweaver CSS.

All is well in Firefox but MSIE is not giving me the expected result.

Here is the CSS:


/***********************************************/
/* 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 file ----------------


And here is the page we are 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 -->
<!-- SNIP CONTENT -->
<?php include("bottom.php") ?> 
</td></tr>
</table>
</body>
</html>

---------------------  end of php file --------

Why is IE not seeing this correctly?

-- 
Member - Liberal International  
This is [EMAIL PROTECTED]       Ici [EMAIL PROTECTED]
God Queen and country! Beware Anti-Christ rising!
Canada's New CONservatives - Same old Tory.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to