Greetings all,

I have a great website up and running that lets people take a quiz. Everything is working perfectly, this is more of a aesthetics issue, and its very simple but I can't find the answer. When they leave a field blank, I have a die command that stops the script from executing and prints the message. "You left out something!" The only problem is that it appears in a white screen in tiny print in the top left corner of the screen. Is there a way to style this, or at least make the font bigger, so it's more noticeable? Thanks!

-Sparhauoc

P.S. already tried html and css within the command, so unless I did them wrong (which I don't think I did) that doesn't work. Didn't expect it too, but I thought it couldn't hurt to try lol.

die ('<p style="color:blue;">Hello World!</p>');

Doh! Forgot the starting quote before the tag before. Sorry, newbie here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.