Change id attribute to 'ref'

Having two 'id' attributes that are the same is a problem. This avoids
this problem. Also changed the stylesheet so that the gradient will work
on Firefox.