Jquery Button CSS - Padding and Margin -


ok... may stupid question, can't remove paddings , margins simple jquery button.

what doing wrong???

see fiddle: http://jsfiddle.net/liviozanol/mlmta/

body {     padding: 20px; } #btnclose {         padding: 0px !important;            margin: 0px !important;      } #image {             padding: 0px !important;            margin: 0px !important; 

you're targeting wrong elements - padding on <span class="ui-button-text"> not containing div. use #btnclose .ui-button-text override current declaration

http://jsfiddle.net/mlmta/2/

#btnclose .ui-button-text { padding: 0; } 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -