What am I doing wrong in this HTML code:
<html>
<head>
</head>
<body>
<div style="position: absolute; left: 50px; top: 100px; width: 1px; height: 1px; color: red;"></div>
</body>
</html>
I was given it here about an hour ago, but it doesn’t work – I don’t see a red pixel in my “MS FrontPage” editor
You need to use
background-color: redinstead ofcolor: red. Voila… a red pixel!