internal style

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ModusPonens
Forum Newbie
Posts: 13
Joined: Sat Apr 09, 2011 11:57 am

internal style

Post by ModusPonens »

I'm running across an issue with IE.

I've created an in-line <style> that changes font colors for validation issues. The style tags render the proper font color in Firefox, Google Chrome, and Safari, but not IE. I know this isn't directly a PHP question, but has Mickey Soft gone entirely to CSS? And it isn't the color that's the issue. When the page loads, all text is rendered in black. On a failed validation, the appropriate labels turn red.

<style type = 'text/css'>
P1 {color:black}
P2 {color:red}
</style>

Gads I've gotten to where I absolutely despise MS.
Post Reply