position span inside a table cell by class or id

If i have a html table with id of mytable and inside of this table i have a table cell with class colstyle 2. In this table cell I have 2 spans.
One span has a class of span1class and the other one has a class of span2class

If I use this css statement it positions both of my spans on the top right