?
Solved

Remove white gap at top of browser screen

Posted on 2011-05-04
3
Medium Priority
?
277 Views
Last Modified: 2012-05-11
I want to remove the white gap at the top of the screen before my image begins.

Where do I set this setting for 0margin or whatever it needs?

Thanks!
0
Comment
Question by:Starr Duskk
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
jonahzona earned 2000 total points
ID: 35691976
Try on the body tag.

We can't see your code, it is always better to post that as well.

But try

body {
  margin: 0 !important;
  padding: 0 !important;
}

Open in new window

0
 
LVL 13

Expert Comment

by:jonahzona
ID: 35691988
Or if your style is inline (in the HTML)

<body style="margin: 0 !important; padding: 0 !important;">

Open in new window

0
 
LVL 2

Author Closing Comment

by:Starr Duskk
ID: 35692033
thanks so much!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Suggested Courses
Course of the Month17 days, 7 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question