Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

CSS question

I have this style:

#form-container form input{width:310px;height:50px;style:none;box-shadow:none;}

I only want the text inputs styled like this, however. is there something I can add to this code that will ONLY style the text input boxes this way?
0
lvollmer
Asked:
lvollmer
  • 2
1 Solution
 
Tyler LaczkoCommented:
Add a class tag to your text boxs do the style on the class.
0
 
lvollmerAuthor Commented:
i can't add a class because it's auto generated by a CMS, each input box is wrapped in this div however > <div class="txt input"> form stuff... </div>

can I utilize that in some way?
0
 
LZ1Commented:
Just add this to your CSS declaration:

#form-container form input[type="text"]{width:310px;height:50px;style:none;box-shadow:none;}

Open in new window

0
 
lvollmerAuthor Commented:
jackpot thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now