0

[SOLVED] "topmargin=0" in HTML

Can topmargin of a page be set zero? I'm using basic html, i.e., body attribute 'topmargin' but ain't getting desired result (unlike the case of 'leftmargin').

20th Nov 2020, 1:40 PM
#f9CSERS™
#f9CSERS™ - avatar
2 Réponses
+ 1
Can you save the code in SoloLearn and share its link inside Description? with a code to review, hopefully things can come clearer. Follow this guide to sharing links 👍 https://www.sololearn.com/post/75089/?ref=app
20th Nov 2020, 1:49 PM
Ipang
+ 1
Sorry Ipang but I think I got the solution (myself). It was the PRE tag in my code which made it difficult for topmargin to be zero. As I removed that tag, I got my topmargin set zero. Sorry to trouble you!☺🤗
20th Nov 2020, 3:44 PM
#f9CSERS™
#f9CSERS™ - avatar