Make sure $ ('# divName') selects one item. You can use the array syntax for the jquery object to return the underlying DOM object. You should also check (for example, using Firebug) to make sure that the DOM element you are looking for has the style you are looking for.
If both of these things work correctly, you can try using more granular border properties ... border-bottom-style, border-bottom-width, etc.
source share