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"> 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. 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. 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
Archived
This topic is now archived and is closed to further replies.