
January 8th, 2004
10:55 PM
I need a haircut
Status: Offline!
DOCTYPE generating extra space
http://www.brilla.org/layout.html
and
http://www.brilla.org/layout.php
only difference is the first line. the second (layout.php) has a DOCTYPE line, XHTML 1.0 Strict. along with it comes a big ugly space at the bottom, underneath my footer.
is my DOCTYPE wrong? somewhere else i blew it? anything?
___________________
Jon Culver Chia Pets

January 8th, 2004
11:06 PM
Neversidian
Status: Offline!
Well they both look EXACTLY the same. And no your doctype is not wrong.
___________________
Free-Speed Nation
Last edited by Sykil, January 9th, 2004 07:02 PM (Edited 1 times)

January 9th, 2004
09:44 PM
Development Forum Leader
Status: Offline!
If I was a HTML validator, I wouldn't validate that page...
___________________
irc.efnet.net #neverside
Neverside merchandise!

January 9th, 2004
09:57 PM
Neverside Newbie
Status: Offline!
The HTML document doesn't even have a DOCTYPE

January 9th, 2004
10:14 PM
Development Forum Leader
Status: Offline!
Originally posted by akdov
The HTML document doesn't even have a DOCTYPE
Did you read his post? One does, one doesn't.
___________________
irc.efnet.net #neverside
Neverside merchandise!

January 9th, 2004
11:20 PM
they have both an ugly spacer as u call it, try resizing that div to the correct height

January 9th, 2004
11:44 PM
Neverside Newbie
Status: Offline!
Try removing : padding: 15px from both. Then see what the difference is.
Also:
<div style="padding: 15px; font-size: 11px; font-family: Tahoma; line-height: 18px;">hey.<p />
Maybe open the paragraph or get rid of it.
William
___________________


January 10th, 2004
02:18 AM
<div style="height: 50px; padding: 15px; font-family: Tahoma; font-size: 11px; background-color: #ffffff; background-image: url('foot.jpg'); background-position: bottom right; background-repeat: no-repeat">
Notice bottom right for the position.

January 10th, 2004
03:19 AM
I need a haircut
Status: Offline!
/me applauds webarnes. thanks buddy.
i don't know why it did that, but i don't ask.
my solution if anyone's interested:
<div style="height: 50px; font-family: Tahoma; font-size: 11px; background-color: #FFF; background-image: url(foot.jpg); background-position: right; background-repeat: no-repeat;"><div style="background: transparent; padding: 15px; float: left;">Brilla Enterprises © 2004. <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://validator.w3.org/check/referer">XHTML</a></div></div>
___________________
Jon Culver Chia Pets

January 10th, 2004
03:50 PM
Neversidian
Status: Offline!
Unless I'm mistaken, I think you've got the wrong meta also. Try this:
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
___________________
Free-Speed Nation