Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Validation errors and white blocks.

0 views
Skip to first unread message

Samuël van Laere

unread,
Oct 5, 2003, 8:11:00 PM10/5/03
to
It runs happy and well under the latest Mozilla browser:
http://samuel.phpindex.nl/index3.htm (ignore the text on that page, that has
been solved)

But does anyone know how to get rid of the white area in the H2 header under
IE(5.5)?
I haven't got a clue what is causing this white area to appear.

Besides the above problem i'm also running into validation problems:
document type does not allow element "H2" here; missing one of "OBJECT",
"MAP", "BUTTON" start-tag.

What is it i need to do to fix these errors?

Thanks for any help one can offer me.


--
With regards,
Samuël van Laere
the Netherlands
http://samuel.phpindex.nl/index3.htm


Samuël van Laere

unread,
Oct 5, 2003, 10:09:34 PM10/5/03
to
Well it took me some reading and testing, but i've solved both issues.
I'm using the following:

<span class="menu">
<object>
<ul class="links">
<li><a href="http://www.fortron.net/">home</a></li>
<li><a href="http://www.fortron.net/gratis.htm">gratis</a> </li>
<li><a href="http://www.fortron.net/kontakt.htm">kontakt</a> </li>
</ul>
</object>
</span>

And it all validates correctly.
Yet i wonder is there or could there be a reason for not using object like
this?
Does anyone has some comments on this?


--
With regards,
Samuël van Laere
the Netherlands

http://www.fortron.net


Richard

unread,
Oct 5, 2003, 10:12:54 PM10/5/03
to
Samuël wrote:

> It runs happy and well under the latest Mozilla browser:
> http://samuel.phpindex.nl/index3.htm (ignore the text on that page,
> that has
> been solved)

> But does anyone know how to get rid of the white area in the H2 header
> under
> IE(5.5)?
> I haven't got a clue what is causing this white area to appear.

> Besides the above problem i'm also running into validation problems:
> document type does not allow element "H2" here; missing one of
> "OBJECT",
> "MAP", "BUTTON" start-tag.

> What is it i need to do to fix these errors?

> Thanks for any help one can offer me.

I am only assuming that you do not have a width defined in the actual text
cell.
<div><div><div style=width:50px;></div</div</div>
If you do not, this would cause the inner nested div cell to have the same
width as the one above it.
I use IE6 and have done the same thing always giving the nested cell a
defined width.
If you make that width 30px or so, and your text runs say 40px, then the
width auto adjusts.
Just my guess anyway since you have an external style sheet.


Steve Pugh

unread,
Oct 6, 2003, 4:10:54 AM10/6/03
to
"Samuël van Laere" <for...@chello.nl> wrote:

>It runs happy and well under the latest Mozilla browser:
>http://samuel.phpindex.nl/index3.htm (ignore the text on that page, that has
>been solved)
>
>But does anyone know how to get rid of the white area in the H2 header under
>IE(5.5)?
>I haven't got a clue what is causing this white area to appear.

Which <h2>? The ones in the main column or the ones in the nav column?
Or both?

>Besides the above problem i'm also running into validation problems:
>document type does not allow element "H2" here; missing one of "OBJECT",
>"MAP", "BUTTON" start-tag.

You've nested a block level element <ul> inside an inline level
element <span>. You can't do that. Use <div> instead of <span>. Or get
rid of it altogether. You can probably merge all the .menu and .links
styles together and apply them directly to the <ul>.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st...@pugh.net> <http://steve.pugh.net/>

0 new messages