Okey hi eveyone, i found a really cool problem when using HTML5 (<!DOCTYPE HTML>) vs. the regular <html>. When you have an image with a <hr /> below it, the lines distance differs between html, and html5. Why is this, and what are my solution to restore it to it’s default.
Look
plain html
<html>
<head>
<title>I'm not HTML 5</title>
</head>
<body>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
</body>
</html>
and HTML5
<!DOCTYPE html>
<head>
<title>I am HTML5</title>
</head>
<style>
/* solutions? */
</style>
<body>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
<hr />
<img src="http://imgcash1.imageshack.us/img21/212/pinkbw.png" alt="text image"/>
</body>
</html>