Hi Dimo & Martin,
Hope you are well.
I'm still having some issues with this and in a related thread am having problems with an image in a button. Please could you supply me with a cross CSS example that will make the following two examples have 0 padding to the left and right of the button content?
The first line shows my existing button and in that the padding to the left and right varies depending on how wide the text content is (CSS shown below). The second line is my image button that I'm implementing (with some javascript for the AJAX calls). On the second example I end up with extra padding in front of the image for some reason.
As requested it would be very helpful to be given corrected CSS that would remove ALL left and right padding from the button with information on how to add fixed padding to the buttons (ie 5 px left and right irrespective of the text length).
Many thanks for you help, Once I've got the solution I'll post the info on how I get the Image Button working to help save others the development time on it if they do a similar thing.
Regards,
Jon
PS I've just done another test with the following two buttons and the left and right padding is even more pronounced. Interestingly teh second button has noticably less padding even though the only difference is that it has one character removed and a space in the middle...