Customizing forms..

Need help with something HTML related, this is the place to ask.
Post Reply
sturekdrf
Posts: 40
Joined: Fri Jun 15, 2012 8:25 pm

Customizing forms..

Post by sturekdrf »

So I havnt found to much luck on this. How do I changed forms inside of html? What do you use? css? php? java? an example is here
http://zephyrworks.com/ at the bottom of this site there is a message us form. It has text inside that dispears when you click, and the box is rounded and colored I am trying to figure out how to do those things.
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Customizing forms..

Post by Helx »

This is a snippet of my login script:
<input type="text" name="REPLACE THIS" id="REPLACE THIS" placeholder="Disappearing text" />
A bit of a demo:
http://stratuscraft.net/login/

You can customize the text styles of the "placeholder" with CSS.

Just so you know, Internet Explorer won't support it. (as far as I know, I haz Apple)
I'm pretty sure there is a fix somewhere for it on the internet.
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Customizing forms..

Post by Helx »

Oh, and uhh...

Next time this would do well in the HTML subforum :P
sturekdrf
Posts: 40
Joined: Fri Jun 15, 2012 8:25 pm

Re: Customizing forms..

Post by sturekdrf »

Actually after figuring out the proper wording I edited it.

www.monstersagainstcancer.com/indextest.html

placeholder="" is for text in the background that doesnt go away as I am currently using on mine.

for the disapearing and reappearing text I found out how to do it with javascript (if anyone wants this information let me know)

as for the rest it was all CSS, though I havnt found a way to effect the color of the border yet.

So technically it could have gone in Html,CSS, or Javascript and still been technically correct.
Post Reply