Solved

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

Posted on 2012-03-20
3
192 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
3 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 50 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WordPress Themes 10 41
Capture logon name 13 70
How to write an English digest paper 6 47
Make Line Items Look Good Over Mobile 2 52
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now