Soldato
- Joined
- 10 Sep 2003
- Posts
- 5,019
- Location
- Midlands
I've broken my bug down into it's simplest form below, can anyone tell me why the green line in my browser is about 10px in height and not 1px as defined in the css?
I've never seen anything like this before, so perhaps it's a bug with my browser?
I've never seen anything like this before, so perhaps it's a bug with my browser?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Testing</title>
<style>
div.topCurl {
background: green;
height: 1px;
}
</style>
</head>
<body>
<div class="topCurl"></div>
</body>
</html>