Here's a snippet of my code... (Changed some stuff, such as the title).
When I preview that, everything looks good. The "." is in the correct position.
![[Image: sooHf.png]](https://i.imgur.com/sooHf.png)
But then when I add <!DOCTYPE html> (I'm pretty sure that's the correct doctype) the positioning doesn't work...
![[Image: OrR2f.png]](https://i.imgur.com/OrR2f.png)
This is in Firefox, but I've tested in other browsers. I've also tried using other doctypes...
Hopefully someone can help me :)
Code
<html>
<head>
<title>EXAMPLE</title>
<style>
A:link, A:visited{
color:red;
text-decoration:none;
}
</style>
</head>
<body>
<div style="position:fixed;top:155;left:35">
.
</div>
</body>
</html>When I preview that, everything looks good. The "." is in the correct position.
![[Image: sooHf.png]](https://i.imgur.com/sooHf.png)
But then when I add <!DOCTYPE html> (I'm pretty sure that's the correct doctype) the positioning doesn't work...
Code
<!DOCTYPE html>
<html>
<head>
<title>EXAMPLE</title>
<style>
A:link, A:visited{
color:red;
text-decoration:none;
}
</style>
</head>
<body>
<div style="position:fixed;top:155;left:35">
.
</div>
</body>
</html>![[Image: OrR2f.png]](https://i.imgur.com/OrR2f.png)
This is in Firefox, but I've tested in other browsers. I've also tried using other doctypes...
Hopefully someone can help me :)
