I want to make a div that is a string. Here is my HTML:
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="clickable.css" type="text/css" rel="stylesheet" /> </head> <body > <div class="line"></div> </body > </html>
And here is my CSS:
<style type="text/css"> .line{ width: 112px; height: 47px; border-bottom: 1px solid black; position: absolute; } </style>
Nothing is displayed, something is probably wrong in my CSS, but I can't see that.
source share