Solved

CSS - Target a field

Posted on 2016-08-17
3
28 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

626 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