Sailor-Moon Posted September 5, 2011 Share Posted September 5, 2011 I'm very new to php and am working through the book. On chapter 10, e-mail, there are some "alerts" when either entering e-mail information (or incorrectly) echo '<p><em>Thank you for contacting me. I will reply some day.</em></p>'; and echo '<p style="font-weight: bold; color: #C00">Please fill out the form completely.</p>'; Is there a way to have these displayed in the middle of the page? I have enclosed the forms for inputting the e-mail into a talbe and have alligned this in the center, but the error message / completed message appear on the right of the page. Thank you in advance Link to comment Share on other sites More sharing options...
HartleySan Posted September 5, 2011 Share Posted September 5, 2011 Absolutely. All you need to do is echo the text within the part of the page where you want to output it to. If you could please provide some specific code, we can better help you. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts