Page 1 of 1

CSS textboxes

PostPosted: Mon Apr 23, 2012 7:20 pm
by lansas
textboxes is must be in a form?
because it doesnt seem specifications of class "textbox c10" out of form!
is there anybody have an idea?

Re: CSS textboxes

PostPosted: Wed Apr 25, 2012 2:22 am
by raymond

Yes the text box should be placed inside a form. If you would like to use the textbox outside of the <form> then you can create a custome stylesheet or modify the default/theme.css. I would however recommend that you make a copy of default/theme.css and make your modification inside your copy. This will prevent you from loosing your changes if you should upgrade the framework.

Here's the modified CSS code:

Code: Select all
input.textbox { height: 20px; line-height: 20px; }
.textbox:focus { border-color:#97BEFF }  /* textbox */
.textbox {
    background: #fff  url(images/txt_bg.png) repeat-x;
    border: 1px solid #acacac;

Have fun!