Div Output:

Static button with background image: Button 1

3D button with background image: Button 2

Note 1: The background image size is 5 x 45 px: Button gradient
Note 2: When using gradient colors always set the lighter color on top.


Source code: