These are nice looking, inexpensive racks.  They hang loose over cabinet doors, but if you hold a towel over the brackets and use a gripping tool to gently bend the brackets, they will form around the top of the cabinet.  The inner face of the bracket has foam on it, so it will not scratch the cabinet.