/    Sign up×
Community /Pin to ProfileBookmark

Cannot get rid of White Space

I am having a problem getting rid of white space on my website between my main div (header) and my body div. Also, at the bottom of my page, there is white space. Ive tried quite a few things, and the only thing I can find to fix it, at least cosmetically, is by adding padding-top to my body div, and adding <br> to the bottom of my page before closing the html

I am aware that without actually seeing the HTML, CSS, Javascript etc its relatively hard to give an exact diagnosis, but are there any common fixes to this? Or why is there white space appearing to begin with.

to post a comment
CSSHTMLJavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@sibertSep 23.2020 — Without code it is about guessing. The tag * can eliminate white space.

https://jsfiddle.net/k2cm0763/1/
Copy linkTweet thisAlerts:
@VITSUSASep 23.2020 — @JornRoyal#1623551 Don't focus on shortcuts. You should try to focus on Html and CSS to fix this error.
×

Success!

Help @JornRoyal spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.10,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...