CSS textboxes

Share your Raxan CSS themes with the community

CSS textboxes

Postby lansas » Mon Apr 23, 2012 7:20 pm

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?
lansas
 
Posts: 1
Joined: Mon Apr 23, 2012 7:15 pm

Re: CSS textboxes

Postby raymond » Wed Apr 25, 2012 2:22 am

Hi,


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!
__
Raymond
raymond
Site Admin
 
Posts: 215
Joined: Tue Mar 17, 2009 5:04 am


Return to CSS Themes

Who is online

Users browsing this forum: No registered users and 1 guest

cron