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.

Daft question I know but....

Featured Replies

How do you style the text in a input box on a form ?

 

In CSS i guess yes but how??

  • Author

Cheers of course it is !!! Duh!!

 

Thanks again

Cheers of course it is !!! Duh!!

 

Thanks again

 

No problem, was a tutorial I wanted to write soon anyway and your post just speed it up :)

No you just write your form as you normally would example:

 

<form method="post" action="email.php">
Email:<br />
<input name="email" type="text" size="30" /><br />
Message:<br />
<textarea name="message" rows="15" cols="40">
 </textarea><br />
 <input type="submit" />
</form>

 

The style would then be applied to the input box and the textarea.

  • Author

put its written in php

 

$form ="<form action=\"$self\" method=\"post\">";
	   $form.="<table><tr><td align=\"right\" valign=\"top\">Name:</td><td><input type=\"text\" name=\"username\"";
	   $form.=" size=\"30\" value=\"$username\" ></td></tr>";
	   $form.="<tr><td align=\"right\" valign=\"top\">Email:</td><td><input type=\"text\" name=\"useraddr\"";
	   $form.=" size=\"30\" value=\"$useraddr\"></td></tr>";
	   $form.="<tr><td align=\"right\" valign=\"top\">Phone:</td><td><input type=\"text\" name=\"phonenum\"";
	   $form.=" size=\"30\" value=\"$phonenum\"></td></tr>";													  
	   $form.="<tr><td align=\"right\" valign=\"top\">Which Course?</td><td><textarea name=\"comments\" cols=\"20\" rows=\"3\">";
	   $form.="$comments</textarea></td></td>";
 $form.="<tr><td></td><td><input type=\"submit\" name=\"sent\" value=\"Send\" class=\"btn\"></td></tr></table>";
	   $form.="</form>";

Hmm I am not 100% but it still should work, give it a try what's the worst that can happen :)

  • Author

It''s ok i just put it in css has normal and it worked!!

 

Thanks again

That PHP has HTML in it, which is what the CSS is going to affect. ;)

Create an account or sign in to comment

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.