Changing styles in database page