joeybab3
joeybab3

Reputation: 317

How to remove blank space on top of page?

I'm redoing my entire website, because I'm trying to get away from my "just-learning" style of page. One thing I noticed was that there is a large blank gap that shows up as soon as the page has finished loading. Here is a link to my website. Upon using inspect element in chrome, I see that the white space is composed of

"
     "

characters. This happens in all browsers available for me to test it in.

Edit1: In an attempt to show that I tried, I've tried setting the body in the css to margin: 0 and removing all css that is related to the top.

Upvotes: 0

Views: 2332

Answers (2)

Bugaloo
Bugaloo

Reputation: 1691

your html is not valid. this was prepared  

table in html is written like this:

<table> <!-- start table -->
     <tr> <!-- start table row -->
           <td></td> <!-- table cell-->
     </tr> <!-- end table row -->
</table> <!-- end table -->

Upvotes: 0

Phlume
Phlume

Reputation: 3131

Without code it is hard to determine... you could try a css reset on the body...

body{margin:0;padding:0;}

Also, after you edited the code, i see a secondary } after your body edit.

Upvotes: 3

Related Questions