gdebojyoti
AFOL
I wanted to create a horizontal bar at the top of my HTML web page. I used the following code for that:
But a white space appears all around the bar. ( *www.debojyotighosh.com/projects/isn/test1.html )
Is there any way by which this space can be avoided (other than using negative values in "margin")?
Code:
<html>
<body>
<div style="width:100%; height:40px; background-color:olive; margin: 0 0 0 0;" align="center">
Hello
</div>
</body>
</html>
But a white space appears all around the bar. ( *www.debojyotighosh.com/projects/isn/test1.html )
Is there any way by which this space can be avoided (other than using negative values in "margin")?