Is there an html property that controls how close to the top of a page the first line of text can be?
I am working on a web page, and have found that the first line of text is not as close to the top of the page as I would like for it to be. Is there something I can use in the code to start my text closer to the top of my page?
- 1 decade agoFavorite Answer
Sort of. You can do this with CSS. Try adding this to the body tag:
<body style="margin-top: 10px;">
Of course, replace 10 with whatever number you want until you get the position you want.
- 1 decade ago
try this code
<input type="button" value="button"
my text goes here
- Anonymous1 decade ago