2 replies [Last post]
isidat
isidat's picture
Offline
newbie
istanbul
Last seen: 13 years 45 weeks ago
istanbul
Timezone: GMT+3
Joined: 2009-07-21
Posts: 2
Points: 0

Hi, the div that includes my website's logo is located 8px below the top level of the page.
id of the div is "headbox" which has "margin: 0 auto; width: 950;" styles.
Can you please check out where should I fix?
Url is http://www.resminicizdir.com

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 13 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Depending on the browser,

Depending on the browser, there will be 8px margin or padding on either html or body. Add the following to your stylesheet:

html, body {
  margin: 0;
  padding: 0;
  }

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

isidat
isidat's picture
Offline
newbie
istanbul
Last seen: 13 years 45 weeks ago
istanbul
Timezone: GMT+3
Joined: 2009-07-21
Posts: 2
Points: 0

Thank you! Solved.

Thank you!
Solved.