D
damezumari
I am trying to create a blue header with two images and text.
The page is found at http://easyquestion.net/testing/index.php.
It works as intended in Ie6, but neither in Chrome nor in Mozilla
Firefox.
The code has been validated as html and css. Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title></title>
</head>
<body>
<div style="background-color: #2584BC; width: 980px;">
<div style="float:left; padding-left:45px;"><img src="images/middle-
logo122.gif" alt="image"></div>
<div style="float:right; padding-right:40px;"><img src="images/
garden2.jpg" alt="image"></div>
</div>
<div style="background-color: #2584BC; width: 980px; margin-top:
-20px;">
<div style="float:right; font-family: Times, serif; font-size: 13px;
color:white; margin-bottom:10px; padding-right: 40px;">Garden
International School, 182/24 Moo 4, Pala Road, Ban Chang, Rayong
21130, THAILAND - Tel: 00 66 (0) 38 880 360</div>
</div>
</body>
</html>
What am I doing wrong?
Regards,
Jan Nordgreen
The page is found at http://easyquestion.net/testing/index.php.
It works as intended in Ie6, but neither in Chrome nor in Mozilla
Firefox.
The code has been validated as html and css. Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title></title>
</head>
<body>
<div style="background-color: #2584BC; width: 980px;">
<div style="float:left; padding-left:45px;"><img src="images/middle-
logo122.gif" alt="image"></div>
<div style="float:right; padding-right:40px;"><img src="images/
garden2.jpg" alt="image"></div>
</div>
<div style="background-color: #2584BC; width: 980px; margin-top:
-20px;">
<div style="float:right; font-family: Times, serif; font-size: 13px;
color:white; margin-bottom:10px; padding-right: 40px;">Garden
International School, 182/24 Moo 4, Pala Road, Ban Chang, Rayong
21130, THAILAND - Tel: 00 66 (0) 38 880 360</div>
</div>
</body>
</html>
What am I doing wrong?
Regards,
Jan Nordgreen