Steve_Kinsella Posted May 17, 2010 Share Posted May 17, 2010 I have this site - www.stevenkinsella.com - and whilst it works ok in both Firefox and Opera, IE, Safari and Chrome will not show the content. The page loads and the source can be viewed, but the page appears blank.Any offers as to why? Link to comment Share on other sites More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 have you tried any sort of validation? I'd be pretty scared with those numbers...it could also be that you don't close the IE conditional. Link to comment Share on other sites More sharing options...
Steve_Kinsella Posted May 17, 2010 Author Share Posted May 17, 2010 I have tried validation and even with a corrected version, the same thing happens. As I've basically bolted the various parts together to make the site (almost) work, what do I need to do to close the conditional properly? Link to comment Share on other sites More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 http://www.google.com/#hl=en&source=hp...059ab474882bfe2Google is your friend. First link should help. Regardless, its still in your best interest to have a page without 300+ errors. Link to comment Share on other sites More sharing options...
real_illusions Posted May 17, 2010 Share Posted May 17, 2010 I'd be pretty scared with those numbers... Dont click this link then!! Link to comment Share on other sites More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 Dont click this link then!! well, of course I'm going to.... Link to comment Share on other sites More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 how does it even work!? Link to comment Share on other sites More sharing options...
real_illusions Posted May 17, 2010 Share Posted May 17, 2010 how does it even work!?Magic Link to comment Share on other sites More sharing options...
dink Posted May 17, 2010 Share Posted May 17, 2010 I have this site - www.stevenkinsella.com - and whilst it works ok in both Firefox and Opera, IE, Safari and Chrome will not show the content. The page loads and the source can be viewed, but the page appears blank.Any offers as to why?Did you close the if condition?dink Link to comment Share on other sites More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 Magic ah yes...that thing that makes the internets work! Link to comment Share on other sites More sharing options...
real_illusions Posted May 17, 2010 Share Posted May 17, 2010 ah yes...that thing that makes the internets work! Magic makes it work, but duct tape holds it together. Link to comment Share on other sites More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 Link to comment Share on other sites More sharing options...
real_illusions Posted May 17, 2010 Share Posted May 17, 2010 Got a new signature now :)I think we may of strayed slightly off topic too....oops, best hide before the mods see it Link to comment Share on other sites More sharing options...
Steve_Kinsella Posted May 17, 2010 Author Share Posted May 17, 2010 After several goes, the current www.stevenkinsella.com is allegedly now 100% valid - http://validator.w3.org/check?uri=http%3A%...venkinsella.com. But it still won't display in IE, Safari or Chrome. All that shows up is //]]>, which I'm guessing has something to do with the end of the html looking like this</body></html>//]]></script></head><body></body></html>Any ideas to get this 100% valid page working? Link to comment Share on other sites More sharing options...
Synook Posted May 17, 2010 Share Posted May 17, 2010 The <![CDATA[ ... ]]> block specifies textual data - any markup you place inside it will be rendered literally and not parsed. Currently, that's your entire document, including the <body> tag. So your entire document is basically: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB"> <head> <meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" /> <title>They know what you did.</title> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="description" content="Steven Kinsella's writing for your pleasure." /> <meta name="keywords" content="Kinsella. Micro Bionic. Chronology. Crisis on Earth Prime." /> <meta name="robots" content="index, follow" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" href="site.css" /> <script type="text/javascript">//<![CDATA[Lots and lots of text here that won't be displayed anyway because it's within a script tag.//]]></script></head><body></body></html> So... tag out the CDATA declaration. Unfortunately, since you haven't validated your actual page (you've told the validator to ignore everything), you'll probably find a lot more problems. Validation isn't everything! Link to comment Share on other sites More sharing options...
dink Posted May 18, 2010 Share Posted May 18, 2010 After several goes, the current www.stevenkinsella.com is allegedly now 100% valid - http://validator.w3.org/check?uri=http%3A%...venkinsella.com. But it still won't display in IE, Safari or Chrome. All that shows up is //]]>, which I'm guessing has something to do with the end of the html looking like this</body></html>//]]></script></head><body></body></html>Any ideas to get this 100% valid page working?You need to close the conditional if statement did you visit the url for answers?Conditional If<!--[if IE 6]>Special instructions for IE 6 here<![endif]--> Link to comment Share on other sites More sharing options...
thescientist Posted May 18, 2010 Share Posted May 18, 2010 http://www.google.com/#hl=en&source=hp...059ab474882bfe2Google is your friend. First link should help. Regardless, its still in your best interest to have a page without 300+ errors.right in the first link <![endif]--> obviously changed to match the browser for your situation. and goes after the end of the code that's part of the conditional. Link to comment Share on other sites More sharing options...
Steve_Kinsella Posted May 18, 2010 Author Share Posted May 18, 2010 Well the validation is down to only 147 errors, which is an improvement. And the site is now visible in all the browsers. I know it's not perfect, but every time I try to correct it, I break it again. It's working so I'll leave it for the time being.Thanks all for your help. Link to comment Share on other sites More sharing options...
marry Posted May 26, 2010 Share Posted May 26, 2010 Some times Browser settings need to be fix. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.