Solved

CSS - Target a field

Posted on 2016-08-17
3
26 Views
Last Modified: 2016-10-13
I have a form with many fields. All the drop down fields use the same css class called .FormsDDMenu. Can I target one of those drop down menus by name and alter the css applied to it? I specifically want to make the background a different color and the border 1 pixel thicker.

Thanks,
Joe
0
Comment
Question by:GileadIT
3 Comments
 
LVL 22

Accepted Solution

by:
Kim Walker earned 250 total points
ID: 41760464
Yes. You can use the attribute selector.
input[name=targeted_name] { color: #123456; }

Open in new window

0
 
LVL 10

Assisted Solution

by:Prasadh Baapaat
Prasadh Baapaat earned 250 total points
ID: 41760890
Hello,
I answered a similar question ... going thru it will hep you.

Similar Question answered
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ebay messages api 6 17
Responsive Font Size 6 45
Fix a css menu for width 15 33
Bootstrap/javascript/jquery - Further manipulating StartDates and EndDates with datepicker 10 61
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question