Log in

View Full Version : Form input and text area layout



Mehok
11-11-2006, 12:06 PM
I was wondering how would I be able to get from a conventional input and textarea look into a dashed look something like


Name
-------
| |
-------

I would think its sometin like

form.input {
decoation: dotted;
}

BLiZZaRD
11-11-2006, 12:25 PM
text-decoration: none;
font-weight: normal;
color: 000000;
border-top: 1px dotted;
border-bottom: 1px dotted;
border-color: 000000;


Then just make sure you use that table or div correctly in your layout, depending on you tables and other classifications.

Mehok
11-11-2006, 01:54 PM
text-decoration: none;
font-weight: normal;
color: 000000;
border-top: 1px dotted;
border-bottom: 1px dotted;
border-color: 000000;


Then just make sure you use that table or div correctly in your layout, depending on you tables and other classifications.

i think this is for the whole form to have a border
and not just the fields

chechu
11-11-2006, 02:51 PM
Like this:

<INPUT TYPE=TEXT NAME="name" VALUE="your name" style="border:1px dotted #666666; width:190px">

chechu
11-11-2006, 02:55 PM
Or like this:

<INPUT TYPE=TEXT NAME="name" VALUE="your name" style="border-top:1px dotted #666666; border-bottom:1px dotted #666666; border-left:0px; border-right:0px; width:190px">

Mehok
11-11-2006, 04:37 PM
thanks for your help the last code was a grate help so i thank you from the bottom of my hart