| | |
Form display settings
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jan 2008
Posts: 100
Reputation:
Solved Threads: 1
Hey All,
I have a form that i want to be able to change the look of, it displays within an HTML page and is basically a rectangle with my input fields in it. I'm using a type form.
What i want is to be able to change the size of the forms border and type (i.e., thickness, sunken, etched etc...), and even color. Does anyone know where to find these settings and how to change them.?
I have a form that i want to be able to change the look of, it displays within an HTML page and is basically a rectangle with my input fields in it. I'm using a
PHP Syntax (Toggle Plain Text)
<form action="fromform.php" method="post">
What i want is to be able to change the size of the forms border and type (i.e., thickness, sunken, etched etc...), and even color. Does anyone know where to find these settings and how to change them.?
You need to write style for that (using css ie.,) Check this out.
Ignorance is definitely not bliss!
*PM asking for help will be ignored*
*PM asking for help will be ignored*
•
•
Join Date: Jan 2008
Posts: 100
Reputation:
Solved Threads: 1
I'm not getting it to work. I guess i didn't explain correctly that i'm using a fieldset tag. From what i can find, i can manipulate what goes inside the fieldset, but not the border itself, is this still done with a css? I'm seeing that if the fieldset does not have a border, my browser doesn't support it, but thats all its saying about the border. I see a border but can't seem to find how to change its color or thickness.
•
•
Join Date: Jan 2008
Posts: 57
Reputation:
Solved Threads: 5
•
•
•
•
I'm not getting it to work. I guess i didn't explain correctly that i'm using a fieldset tag. From what i can find, i can manipulate what goes inside the fieldset, but not the border itself, is this still done with a css? I'm seeing that if the fieldset does not have a border, my browser doesn't support it, but thats all its saying about the border. I see a border but can't seem to find how to change its color or thickness.
If there's a problem with compatibility with a fieldset, you can wrap all of the form elements inside of a div and make the fieldset invisible. Create a fieldset, fill that with a div, then fill that div with the form elements...
html Syntax (Toggle Plain Text)
<form><fieldset> <div id="form-container"> <input type="text" name="Blahblah" value="Testing" /> </div> </fieldset></form>
css Syntax (Toggle Plain Text)
#form-container { border: 5px solid black; }
- Walkere
•
•
Join Date: Jan 2008
Posts: 100
Reputation:
Solved Threads: 1
Sorry this is late, i missed it on Friday. This may work for me, i'll try it. I was able to make everything work the way i did it, but it did look different depending on what browser i used. For testing purposes, i'm using IE and Firefox. In Firefox the border color is white, but in IE the color is what I set it at. I'll try your suggestion and see if this improves on it. Thank you.
![]() |
Similar Threads
- Datagrid font display problem. (Visual Basic 4 / 5 / 6)
- Variable scope problem (C++)
- radio button no display?? (ASP)
- PC REALLY slow...especially at startup (Viruses, Spyware and other Nasties)
- Please help with email form script (PHP)
- Proper LCD Display Settings (Monitors, Displays and Video Cards)
- Unable to run javascript despite correct settings (Web Browsers)
- Graphic adapter problem (Monitors, Displays and Video Cards)
- Very annoying problem! (Monitors, Displays and Video Cards)
Other Threads in the PHP Forum
- Previous Thread: Simple Question about PHP
- Next Thread: regular expressions in php
| Thread Tools | Search this Thread |
ajax apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error errors execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google href htaccess html image include insert integration ip java javasciptvalidation javascript joomla keywords limit link login loop mail matching menu mlm multiple mysql number oop paypal pdf php problem query radio random recursion recursive regex remote script search server sessions shot sms soap source space sql subscription syntax system table tag tutorial tutorials update upload url validator variable video web xml youtube






