jandrews3 Posted August 26, 2009 Share Posted August 26, 2009 Why does this doc declaration turn all my text white and how can I fix it? I know NOTHING about these declarations. I know ... that's blasphemy to say, but I don't. I know this isn't php, but please don't shoot me! I'm using PHP and this is messing up my layout. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd"> Quote Link to comment https://forums.phpfreaks.com/topic/172048-solved-please-dont-shoot-me/ Share on other sites More sharing options...
oni-kun Posted August 27, 2009 Share Posted August 27, 2009 I can't be assed to check if that declaration is right, but there is less than a 1% chance that is your problem. Go make sure it's exact, or look through your code, the browser does NOT set text color based on declaration of doctype. Quote Link to comment https://forums.phpfreaks.com/topic/172048-solved-please-dont-shoot-me/#findComment-907169 Share on other sites More sharing options...
jandrews3 Posted August 27, 2009 Author Share Posted August 27, 2009 You're right and I'm an idiot! But we both already knew this because ... well ... there are just too many reasons to list. I found the problem. It just didn't appear until I put that code in, but you were right ... the problem was elsewhere. Quote Link to comment https://forums.phpfreaks.com/topic/172048-solved-please-dont-shoot-me/#findComment-907173 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.