Wednesday, 15 February 2012

CSS, div border displaying as double -



CSS, div border displaying as double -

i'm not great css, i'm lost happening here... can shed light? after one div box

<html> <head> <style> html, #presenter{ position: fixed; width: 150px; height: 150px; border-style: dashed; border-color: red; } </style> </head> <body> <div id='presenter'> </div> </body> </html>

it's because adding border html tag well. remove it's reference css , work : http://jsfiddle.net/eta8g/

#presenter{ position: fixed; width: 150px; height: 150px; border-style: dashed; border-color: red; }

css

No comments:

Post a Comment