1

Possible Duplicate:
CSS Selector that applies to elements with two classes

So I have a '.data-label' class, that has a width and is designed to be part of a 'row' in a table like layout, but I'd also like to have an element with '.inline .data-label', which would dispense with the width but still keep the font settings from '.data-label'

What is the correct css selector for selecting 2 class at once?

Community
  • 1
  • 1
Ninjanoel
  • 2,864
  • 4
  • 33
  • 53
  • I think you've answered this in your title. Having
    would apply both classes - c1 and c2 - to that div. Unless I'm not understanding? EDIT: Looking at the duplicate post BoltClock has provided, I'm missing the point - check out his link.
    – BunjiquoBianco Jun 08 '12 at 08:31
  • Can you add the original and corrected css code? – quantme Jan 13 '16 at 16:46

1 Answers1

1

simply

.inline.data-label

it should work.

davioooh
  • 23,742
  • 39
  • 159
  • 250