Is there any place where the site can be viewed online?
When you remove the doctype the browsers will not render your website in standars mode but in quirks mode, which basically means there trying to guess what you intended the site should look like.
So don't omit the doctype declaration it will cause more problems than it solves :)
Are you certain it's not just a styling issue where you need to declare dimensions like width and height? Or perhaps clear some css floats?
Have you tried to validate the markup to make sure it's not caused by some invalid markup?
In IE, the "Close" button should appear top left. If I right click and choose properties where the close button image should be appearing, then the image appears.
Just had a look in ie7 and 9 and it appears top left for me... although the X sits inside the image rather than on the edge, as it does in mozilla/chrome.
Document Type Declaration
I wasnt quite sure where to put this question but here goes.
I'm using JQuery FancyZoom for a lightbox effect.
I've been scratching my head as to why the little "cross" button wont appear in IE but will appear for all other browsers in my Umbraco site.
I ran a couple of tests and have found that if I remove the document declaration :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
It works ok but then my page is obviosuly and seriously messed up.
Has anyone else come across this before?
Thanks.
Hi Greyhound
Is there any place where the site can be viewed online?
When you remove the doctype the browsers will not render your website in standars mode but in quirks mode, which basically means there trying to guess what you intended the site should look like.
So don't omit the doctype declaration it will cause more problems than it solves :)
Are you certain it's not just a styling issue where you need to declare dimensions like width and height? Or perhaps clear some css floats?
Have you tried to validate the markup to make sure it's not caused by some invalid markup?
/Jan
Hi Jan,
The Url is : http://www.gcdemos3.co.uk/chairs.aspx
It works ok in Mozilla.
In IE, the "Close" button should appear top left. If I right click and choose properties where the close button image should be appearing, then the image appears.
/Ben
Just had a look in ie7 and 9 and it appears top left for me... although the X sits inside the image rather than on the edge, as it does in mozilla/chrome.
@alimac, thank you for confirming that.
Its look as though the problem is specific to IE8
is working on a reply...