/    Sign up×
Community /Pin to ProfileBookmark

adding an image right at the very very very top of the page?

hi people, can someone please tell me how i can add an image right at the very top of page like on the [URL]http://www.htmlgoodies.com [/URL] homepage. Look at the ‘digital computer expo’ advert, it is nearly touching the top of the page. Everytime i add an image there is always the same set space between the top of the image and the top of the page, is there a way i can nudge it up a bit?thanks

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@pyroJun 02.2003 — Yes, with this css:

<style type="text/css">
body {
margin: 0px;
/*Or, uncomment the below line to only change the top margin*/
/*margin-top: 0px;*/
}
</style>
Copy linkTweet thisAlerts:
@mostdef56authorJun 02.2003 — wow,cool thank you?
Copy linkTweet thisAlerts:
@pyroJun 02.2003 — You're welcome... ?
×

Success!

Help @mostdef56 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.20,
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,
)...