SBonfiglio
IS-IT--Management
Hello Folks.
I'm experiencing a very strange problem
This is the listing of a file that's driving me crazy.
=============================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TEST</title>
<style type="text/css">
<!--
.bottonemenu {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-color: #3789B5;
display: inline;
height: 30px;
line-height: 12pt;
}
.bottonemenu a {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-color: #3789B5;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #C9E1EF;
border-right-color: #225371;
border-bottom-color: #225371;
border-left-color: #C9E1EF;
height: 30px;
padding-top: 5px;
padding-right: 15px;
padding-bottom: 5px;
padding-left: 15px;
}
.bottonemenu a:hover {
background-color: #64AAD0;
}
-->
</style>
</head>
<body>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 1</a></div>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 2</a></div>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 3</a></div>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 4</a></div>
<p> </p>
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td height="30"><div class="bottonemenu" style="height:30"><a href="Javascript:;">FUNCTION 1 BLA BLA BLA</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 2</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 3</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 4</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 5</a></div></td>
</tr>
</table>
<p> </p>
</body>
</html>
===================================================
Well, If I declare some DOCTYPE of any kind at the beginning, IE refuses to format correctly the DIVs especially for the height dimension.
To make it work properly in IE I have to delete the DOCTYPE declaration.
Is it normal ? Is this a common IE 7 behavior ?
Thanks for any help.
I'm experiencing a very strange problem
This is the listing of a file that's driving me crazy.
=============================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TEST</title>
<style type="text/css">
<!--
.bottonemenu {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-color: #3789B5;
display: inline;
height: 30px;
line-height: 12pt;
}
.bottonemenu a {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
background-color: #3789B5;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #C9E1EF;
border-right-color: #225371;
border-bottom-color: #225371;
border-left-color: #C9E1EF;
height: 30px;
padding-top: 5px;
padding-right: 15px;
padding-bottom: 5px;
padding-left: 15px;
}
.bottonemenu a:hover {
background-color: #64AAD0;
}
-->
</style>
</head>
<body>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 1</a></div>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 2</a></div>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 3</a></div>
<div class="bottonemenu"><a href="Javascript:;">FUNCTION 4</a></div>
<p> </p>
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td height="30"><div class="bottonemenu" style="height:30"><a href="Javascript:;">FUNCTION 1 BLA BLA BLA</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 2</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 3</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 4</a></div></td>
<td><div class="bottonemenu"><a href="Javascript:;">FUNCTION 5</a></div></td>
</tr>
</table>
<p> </p>
</body>
</html>
===================================================
Well, If I declare some DOCTYPE of any kind at the beginning, IE refuses to format correctly the DIVs especially for the height dimension.
To make it work properly in IE I have to delete the DOCTYPE declaration.
Is it normal ? Is this a common IE 7 behavior ?
Thanks for any help.