|
Posted by Nick Wedd on 02/21/07 10:42
In message <5e3e4$45db4ccc$40cba7a4$3101@NAXS.COM>, Jonathan N. Little
<lws4art@centralva.net> writes
Thank you for your help. I am slowly increasing my understanding of
what is going on here, I can see that it isn't easy, and I appreciate
the time you must have spent on it.
>Try:
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
Ok, I've tried this. It still has the same problem.
>And if you want to remove the space above your 'topbar' table then
>remove the default margin from the top of your document
>
>BODY { margin-top: 0; }
I've done that (but it wasn't the problem that I wanted to fix).
>If you want to remove all space, then BODY { margin: 0; padding: 0; }
>
>You know this isn't valid
>
><p><table class="pai"><tbody><tr>
>...
></p>
>
>TABLE is a block element as is P, but P can *only* contain inline
>elements.
Ah yes - that was an error. Now fixed. Thank you for pointing it out.
>If you want a space above the TABLE then style it with a margin!
>
>TABLE.pai { margin-top: 1.5em; }
No, that wasn't my problem -
I have simplified the whole page, removing the javascript and other
irrelevant elements, and using a simplified stylesheet.
See http://www.files.maproom.org/00/18/a.html
and http://www.files.maproom.org/00/18/b.html
a.html looks the way I want it, b.html has unwanted vertical spacing.
The only difference is that b.html has a valid doctype, a.html has no
doctype.
Nick
--
Nick Wedd nick@maproom.co.uk
Navigation:
[Reply to this message]
|