Hi guys,
Long time since i am posting a query. Anyways, heres the problem. I do photography, and am making a simple landing page for it. One that will link to my flickr account and my travel blogs.
So i created this very simple black layout.
here's the link...
Am using one of the lightbox effects for the one image there..
Please solve this...
mihir.
Wrong: DOCTYPE = strict and
Wrong:
DOCTYPE = strict and HTML element is missing, but required.
There seems to be an
There seems to be an epidemic of doctypes without the space between the quoted parts. This is not valid:
This is valid:
Notice the space between the EN" and the "http?
The target attribute is not a part of the HTML 4.01 Strict doctype. If you need to use it (and you don't, especially if you are actually using lightbox) then you will have to use HTML 4.01 Transitional.
My advice: get rid of target="_blank"
Hi, so the space matters?
Hi,
so the space matters? ow... and why does the target=_blank not validate? isnt it a valid XHTML code? and i think, this makes the lightbox work.
Sadly i was hoping to use the STRICT DOCTYPE, since i was making a HTML page (as i mostly do Joomla, and my bosses prefer using Transitional).. anyways, so that space is causing it a problem to validate?
will try it out then...
mihir
mihirc wrote:... so the
... so the space matters?
and why does the target=_blank not validate? isnt it a valid XHTML code?
and i think, this makes the lightbox work.
Sadly i was hoping to use the STRICT DOCTYPE, ...
So go ahead. No one is stopping you.
... so that space is causing it a problem to validate?
No the space is causing the doctype to be invalid, the target attribute is causing the problem with validation.