?
Solved

Span inside a class a certain way and other spans to not pick up the attributes.

Posted on 2012-03-20
3
Medium Priority
?
196 Views
Last Modified: 2012-03-20
I have a table in which I have defined in a class (mother) and have span text I want to be a certain way, but I don't want all spans to pick up these attributes.  How would I do this inside the mother class?
0
Comment
Question by:hrhs
[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 40

Accepted Solution

by:
Gurvinder Pal Singh earned 200 total points
ID: 37744276
give this span a class (childSpan) and css should be

.mother span.childSpan
{
  //what ever needs to come here
}
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37744279
Can you show us some code?

There is a way to do it in CSS, however if IE is one of your target browsers, then you may have problems.
0
 

Author Closing Comment

by:hrhs
ID: 37744389
This works great.  It works in IE as well, although my heading at the top row of my table doesn't work correctly, I'll ask that in a different question.

Thanks,

Dave
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

777 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