View Full Version : Weird "empty" space at top of web page
toog
January 11th, 2007, 01:10 PM
Hi everyone!
Here is my site: http://www.biklopsdesign.com (http://www.biklopsdesign.com/)
I want the "ink" graphic to be flush with the top of the page but instead tere is a strange, thin, empty space at the top. I don't get it. I'm using CSS/XHTML, and there is no cell up there. Any ideas?
I'm viewing in Firefox 2
duncanhall
January 11th, 2007, 01:25 PM
Try adding
padding: 0;
to the 'body' element in your stylesheet.
EDIT: Also, you say " this site is css and xhtml standards compliant." At the bottom of your page, but if you check
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.biklopsdesign.com%2F
and
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.biklopsdesign.com%2 Fbiklops.css&warning=1&profile=css21&usermedium=all
you'll see you have a pretty long way to go before living up to that claim.
fasterthanlight™
January 11th, 2007, 02:15 PM
you might as well go ahead and set your html tag's margin to 0 as well
@validation: could just be the wrong doctype implemented, check that
duncanhall
January 11th, 2007, 02:18 PM
He already has the margin set at 0, so im guessing it's the padding that's cocking things up.
bwh2
January 11th, 2007, 02:58 PM
look at the beginning of the body, you have a table within a table. but the child table isn't in a cell of the parent table. furthermore, your parent table doesn't have cellspacing set to 0.
toog
January 11th, 2007, 03:22 PM
Thanks everyone! Damn, I really thought I got that table-in-a-table thing solved. Also, yes, it is a doctype issue. Thanks to everyone again! Very quick.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.