Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

nostrovia

Members
  • Joined

  • Last visited

Everything posted by nostrovia

  1. <link rel="stylesheet" type="text/css" href="styles.css" /> <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="ie.css"/><![endif]--> hey all. my site looks fine in firefox, but is a few pixels off in IE. i have a different style sheet for ie (see above), but when i edit it the site doesn't change in IE. any thoughts? thanks.
  2. <link rel="stylesheet" type="text/css" href="styles.css" /> <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="ie.css"/><![endif]--> hey all. my site looks fine in firefox, but is a few pixels off in IE. i have a different style sheet for ie (see above), but when i edit it the site doesn't change in IE. any thoughts? thanks.
  3. http://www.changemyworkout.com/contactus.php If you write something in the comment box more then the width, it will continue on one line instead of having it break to the second and so on. I've looked everywhere for an answer but can't seem to figure it out. I'm sure it's an easy fix. Thanks in advance for your input. EDIT - wrap="hard", found it!
  4. Success! Thanks a lot dt. I hope you don't mind if I PM you with any more questions I might have. You've been a huge help.
  5. great thanks dt. ive been working on this for a while and im starting to rip my hair out!
  6. Wickham, I appreciate all the help. Here's where I stand now. I feel like I'm so close. It's saying now there's a problem on line 27, that there's a problem with the "}else{" next to the commented out //send the email. What do you think? <?php $nameraw = $_POST['Name']; $titleraw = $_POST['Title']; $emailraw = $_POST['Email']; $commentsraw = $_POST['Comments']; ?> <?php $namecount = strlen($nameraw); if ($namecount >=2){$name=$nameraw;}else{$error1="Name must consist of more than one character";} $titlecount = strlen($titlenameraw); if ($titlecount >=2){$title=$titleraw;}else{$error2="Title must consist of more than one character";} if (eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $emailraw)){$email=$emailraw;}else{$error3="Email must consist of a . and a @";} $commentscount = strlen($commentsraw); if ($commentscount >=3){$comments=$commentsraw;}else{$error4="Comments must consist of more than 3 characters";} if (isset($error1)||isset($error2)||isset($error3)||isset($error4))?> <?php if (isset($error1)){echo"$error1<br />";}?> <?php if (isset($error2)){echo"$error2<br />";}?> <?php if (isset($error3)){echo"$error3<br />";}?> <?php if (isset($error4)){echo"$error4<br />";}?> <a href="java script:java script:history.go(-1)"><< GO BACK</a> <?php }else{ //send the email $to = "mike.koffler@gmail.com"; $subject = "Contact Form Submission"; $body = " Mike, Someone has submitted the following information on your web site contact form: $name Comment: $comments Email: $email Best, Your Webmaster "; if (mail($to, $subject, $body)) { echo("<p>Message successfully sent</p>"); } else { echo("<p>Message delivery failed</p>"); } } ?> <form class="contactform" method="post" action="contact_process.php"> <label style="color:#FFFFFF;font-size:15px;">Name:</label><input class="formfield" type="text" id="Name"/> <label style="color:#FFFFFF;font-size:15px;">Email:</label><input class="formfield" type="text" id="EMail"/> <label style="color:#FFFFFF;font-size:15px;">Title:</label><input class="formfield" type="text" id="Title"/> <label style="color:#FFFFFF;font-size:15px;">Comments:</label><textarea class="commentsbox" type="text" id="Comments"></textarea><br /><br /> <input style="border:2px solid #18537F;width:100px;margin-top:10px;font-size:14px;" type="submit" value="Submit" /> </form>
  7. the problem was I forgot to put a $ before error4. but im still having some problems with the form. its still saying theres an issue in line 56, which is the final line. any ideas? <?php $nameraw = $_POST['Name']; $emailraw = $_POST['EMail']; $titleraw = $_POST['Title']; $commentraw = $_POST['Comment']; ?> <?php $namecount = strlen($nameraw); if ($namecount >=2){$name=$nameraw;}else{$error1="Name must consist of more than one character";} $titlecount = strlen($titleraw); if ($titlecount >=2){$title=$titleraw;}else{$error2="Title must consist of more than one character";} if (eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $emailraw)){$email=$emailraw;}else{$error3="Email Address must consist of a . and a @";} $commentcount = strlen($commentraw); if ($commentcount >=3){$comment=$commentraw;}else{$error4="Comment must consist of more than 3 characters";} if (isset($error1)||isset($error2)||isset($error3)||isset($error4)){?> <?php if (isset($error1)){echo"$error1<br />";}?> <?php if (isset($error2)){echo"$error2<br />";}?> <?php if (isset($error3)){echo"$error3<br />";}?> <?php if (isset($error4)){echo"$error4<br />";}?> <a href="java script:java script:history.go(-1)"><< GO BACK</a> <?php }else{ //send the email $to = "mike.koffler@gmail.com"; $subject = "Contact Form Submission"; $body = " Mike, Someone has submitted the following information on your web site contact form: $name Title: $title Comment: $comment Email: $email Best, Your Webmaster "; if (mail($to, $subject, $body)) { echo("<p>Message successfully sent</p>"); } else { echo("<p>Message delivery failed</p>"); }
  8. Parse error: syntax error, unexpected '=' in /home/changemy/public_html/form.php on line 18 Line 18 - if ($commentcount >=3){$comment=$commentraw;}else{error4="Comment must consist of more than 3 characters";} where is the unexpected "="? i changed the php file to form.php on the server. i can't seem to get it to link up, thoughts?
  9. http://www.changemyworkout.com/index2.php?p=contactus hey all. this is my html contact form and my contactus_process php script, but im not sure how to get it to actually work with the form. thoughts? thanks in advance everyone. <form class="contactform" method="post"> <label style="color:#FFFFFF;font-size:15px;">Name:</label><input class="formfield"/> <label style="color:#FFFFFF;font-size:15px;">Email:</label><input class="formfield"/> <label style="color:#FFFFFF;font-size:15px;">Subject:</label><input class="formfield"/> <label style="color:#FFFFFF;font-size:15px;">Comment:</label><textarea class="commentsbox"></textarea><br /><br /> <input style="border:none;width:75px;margin-top:10px;font-size:14px;" type="submit" value="Submit" /> </form> </body> </html> <?php $nameraw = $_POST['Name']; $emailraw = $_POST['EMail']; $subjectraw = $_POST['Subject']; $commentraw = $_POST['Comment']; ?> <?php $namecount = strlen($nameraw); if ($namecount >=2){$name=$nameraw;}else{$error1="Name must consist of more than one character";} if (eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $emailraw)){$email=$emailraw;}else{$error3="Email Address must consist of a . and a @";} $commentcount = strlen($commentraw); if ($commentcount >=3){$comment=$commentraw;}else{error4="Comment must consist of more than 3 characters";} if (isset($error1)||isset($error2)||isset($error3)||isset($error4)|| <?php if (isset($error1)){echo"$error1<br />";}?> <?php if (isset($error2)){echo"$error2<br />";}?> <?php if (isset($error3)){echo"$error3<br />";}?> <?php if (isset($error4)){echo"$error4<br />";}?> <a href="java script:java script:history.go(-1)"><< GO BACK</a> <?php }else{ //send the email $to = "mike.koffler@gmail.com"; $subject = "Contact Form Submission"; $body = " Mike, Someone has submitted the following information on your web site contact form: $name Subject: $subject Comment: $comment Email: $email Best, Your Webmaster "; if (mail($to, $subject, $body)) { echo("<p>Message successfully sent</p>"); } else { echo("<p>Message delivery failed</p>"); } } ?>
  10. perfect. thanks alot.
  11. http://www.changemyworkout.com/index2.php?p=contactus hey guys. i can't seem to get my inputs to line up with my labels. .contactform label { float:left; text-align:left; width:75px; height:25px; } .formfield { border:2px solid #013E6A; background-color:#FFFFFF; height:20px; width:220px; font-size:15px; float:right; } .commentsbox { margin-top:15px; width:220px; height:250px; border:2px solid #013E6A; float:right;} .contactform input{ border:2px solid #013E6A; } im so close to getting this done but i cant seem to figure it out. thanks in advance everyone.
  12. *see attached file* im trying to slice this so i only have the flower as the image, to have no background, or tto have the background transparent so when i layer the div, only the flower shows up. i have no real graphics experience, but lord knows im tryin to learn any ideas? thanks in advance.
  13. nostrovia replied to nostrovia's topic in Frontend
    great thanks.
  14. nostrovia posted a topic in Frontend
    i'm trying to have the attached picture layered over the top left corner of the picture on a web page that i'm working on coding. i've never encountered this before and am not sure where to start. thanks in advance. www.changemyworkout.com/testpage.html

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.