What is wrong in this <div style="position: absolute HTML code?

Posted by brilliant on Stack Overflow See other posts from Stack Overflow or by brilliant
Published on 2010-04-11T02:09:07Z Indexed on 2010/04/11 2:13 UTC
Read the original article Hit count: 190

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about div

Related posts about html