Ian Hazzard
Ian Hazzard

Reputation: 7771

How to align a <td> right and left

I am trying to get the Since and 1932 <td>'s to be right next to the picture. Will aligning the "Since" <td> right, and the "1932" <td> left work? If so, how would I do it? I can't seem to get them RIGHT NEXT TO THE PICTURE. JSFiddle Here

Upvotes: 0

Views: 107

Answers (1)

Phani
Phani

Reputation: 861

instead of having the image width as 50% inside the <td> make the <td> width as 50% and img width 100%

Here is the JSFIDDLE DEMO

Then, add a cssclass to the first column and text-align right, so the since will move right next to the image.

Upvotes: 1

Related Questions