RailsCasts Pro episodes are now free!

Learn more or hide this

James Morris's Profile

GitHub User: jhm15217

Site: www.cs.cmu.edu/~jhm

Comments by James Morris

Avatar

This was an excellent lesson, which I implemented immediately. I had some trouble with the .css file, probably because it was a little weird to start. I had to delete the '.prettify' stuff. Here is what worked for me.

th a.current {
padding-right: 20px;
background-repeat: no-repeat;
background-position: right center;
}

th a.current.asc {
background-image: url(images/up_arrow.gif);
}

th a.current.desc {
background-image: url(images/down_arrow.gif);