/    Sign up×
Community /Pin to ProfileBookmark

Align Top doesnt work

Argh, I’m trying to make my online portfolio and the main page has a fade along all the edges. Anyway, I’m doing this by cutting up the image into sections and putting them on the page in Dreamweaver 8. I align one of the images to the top but there still appears to be a tiny gap, about a centremetre between the top of the image and the top of the page. I wish for my image to be at the absolute top.

Please help.

Thank you.

Image:
[IMG]http://img149.imageshack.us/img149/9799/lawljesuskw5.jpg[/IMG]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelAug 18.2007 — Are you using IE?

Can you add styles?

<style> [B]body, html {padding:0; margin:0;}[/B]

</style>

will remove the default 'padding' & 'margin' from the body, html (about a cm).
Copy linkTweet thisAlerts:
@SlappyBagauthorAug 18.2007 — Thank you very much, that worked perfectly.
×

Success!

Help @SlappyBag 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 6.18,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...