|
|
|
|
![]() ![]() |
Feb 10 2006, 09:57 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
In my application I have a custom tag that generates all the action buttons that the page needs.
My problem is that in IE the space between the left side of the button and the image inside the button are not consistant. Some buttons have 3 or 4 more pixels of padding on the left side then others. This causes my buttons to be too large and hence the area the buttons are generated in stretches too far. I could wrap the buttons around to another line or add scroll bars.. but if it will fit in FF I think it should fit in IE as well. So my question is can I set the padding between the left side of the button and the image of the button? Code: CODE <button title='Clear' onMouseOver="Clear_img.src='/images/actions/shadow/action_clear.png' onMouseOut="Clear_img.src='/images/actions/plain/action_clear.png' onClick='buttonClick(this)' id='button_Clear' name='Clear'value='Clear' type='submit'><img vspace='0' width='16' height='16' name='Clear_img'src='/images/actions/plain/action_clear.png'> Clear</button>
|
|
|
|
Feb 11 2006, 01:50 AM
Post
#2
|
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,161 Joined: 9-May 05 From: Brisbane, QLD Member No.: 6,818 |
Have you tried setting the properties of your buttons with CSS and including the image as a background image rather than in the HTML?
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 6th September 2008 - 06:15 PM |