Let\'s say I have this
test test test test
Use nth-child selector like this
ul li:nth-child(1) { text-align: right; } ul li:nth-child(2) { text-align: left; }