Hi,
I have a simple red box which looks right in FF/NS but not in IE.
The code is
I can make this look the same in all browsers by having some character (I choose a non breaking space) in-between the div tags. I was just wondering, is there a way to make this look the same without using a character in-between the div tags?
Cheers.
I have a simple red box which looks right in FF/NS but not in IE.
The code is
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<style>
#redBorder {
position:absolute;
background-color:#CC0000;
top:94px;
left:0px;
height:6px;
width:750px;
line-height:0px;
}
</style>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div id="redBorder"></div>
</body>
</html>
I can make this look the same in all browsers by having some character (I choose a non breaking space) in-between the div tags. I was just wondering, is there a way to make this look the same without using a character in-between the div tags?
Cheers.