HTML 4.01 Strict and "google map iframe"

K

Knut Krueger

André Gillibert said:
Use a good old anchor.
?!? an anchor with scroll zoom, switching between map sat and hybrid and
so on?
That would be much nicer for the user.
(Or use the OBJECT element, or use HTML 4.01 transitional)
An answer from Jonathan 05/19/2006
your result will more likely be more constant

OK maybe its not state of the art in 2007/2008 but I did not read
anything against strict.


I do not want to reorganize the whole Homepage.
There is only one layout PHP script for all pages with different contents
next solution:
or live with the 9 errors at this page
Not the best one but it seems to work.

Regards Knut
 
T

Toby A Inkster

Knut said:
OK maybe its not state of the art in 2007/2008 but I did not read
anything against strict.

Although the HTML 4.01 Strict DOCTYPE is nice -- a classic even -- you've
got to think about the reason *why* it's recommended.

Validating against strict is recommended precisely *because* it doesn't
allow you to use <font>, <center> and all kinds of crap. But if you're
going to insist on using that crap (and <iframe> is included here!) then
you're going to have to abandon strict.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 7 days, 12 min.]

TrivialEncoder/0.2
http://tobyinkster.co.uk/blog/2007/08/19/trivial-encoder/
 
A

André Gillibert

Knut Krueger wrote:

I do not want to reorganize the whole Homepage.
There is only one layout PHP script for all pages with different contents
next solution:
or live with the 9 errors at this page
Not the best one but it seems to work.
Or use OBJECT (but you seem to have skipped that part of my reply).
 
A

André Gillibert

Toby said:
Validating against strict is recommended precisely *because* it doesn't
allow you to use <font>, <center> and all kinds of crap. But if you're
going to insist on using that crap (and <iframe> is included here!) then
you're going to have to abandon strict.

Among many other bad things, embedding external pages with IFRAME brings
all the cr*p of the external pages in the embedding page.

e.g. Google maps indefinitively loads and re-loads (something like an
infinite redirection) with my browser (Opera with JavaScript disabled). I
noticed that this bug is reproduced in FF when JavaScript are disabled.
Even with JavaScript enabled, it doesn't work properly with IE6 (requires
VML support), Opera 8.54 or K-Meleon.
With JavaScript enabled, it requires a VERY long time to load in SeaMonkey
or FF.
 
K

Knut Krueger

André Gillibert said:
Knut Krueger wrote:
Or use OBJECT (but you seem to have skipped that part of my reply).
I did not really skipped this part, but I found examples OBJECT only
with java script. I do not know just know how to use OBJECT in my context.

Regards Knut
 
A

André Gillibert

Knut said:
I did not really skipped this part, but I found examples OBJECT only
with java script. I do not know just know how to use OBJECT in my
context.

<object data="http://example.com/somewhere/" type="text/html" >
<a href="http://example.com/somewhere/">Somewhere</a>
</object>

Just read the manual:
http://www.w3.org/TR/html4/struct/objects.html

Anyway, that would still be inacessible, because google maps s*cks at
accessibility. This infinite loading is annoying.
If you want to show a map accessible to everybody, use an image (served in
PNG and GIF) stored on your server, and additionally put a regular link to
google maps. You may even put the image in the link.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top