kvarnerexpress
Feb 10 2006, 09:57 PM
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>
Reply
Tyssen
Feb 11 2006, 01:50 AM
Have you tried setting the properties of your buttons with CSS and including the image as a background image rather than in the HTML?
Reply
Similar Topics
Keywords : dynamic button- Refresh Page After Back Button Hit
- (11)
Hi. I have a page that is dynamically build through DOM manipulation. So, when I browse outside the
page, and then click back, those dynamically created DOM objects are gone. Since I am also using JSP
/ Servlet technology, I can rebuild this page easily, which I have done. Here is my dilemma. If
the user leaves the dynamic page, then clicks back on their browser, I need the page they are going
back to to refresh. I can't figure out how to do this. I've tried using the META tag, but it
won't do it. Help would be appreciated. Thanks. ...
Radio Button
- (4)
I am trying to maintain the radio button selection on a Submit, but the form refreshes to its
default selection. BTW, After a Submit is clicked, the radio form stays visible on the top of the
screen while the query results are displayed on the bottom half of the screen (we're using an
internal, embedded link). That's when the default selection comes into place. Any help would be
appreciated. Please respond Kvarnerexpress....
Multiple Drop Down Menus W/ Submit Button
- (6)
I am building a page that will have 2 drop down menus and a submit button. The first menu will have
one set of options, say colors (red, blue, green, yellow). The second menu will have another set of
options, say sizes (small, medium, large). What I want to be able do is select a color and a size,
click submit and have it go to the page for those options. So if a user picks 'Red' and
'Small' and clicks submit they will be linked to page1.html. If they pick 'Blue' and
'Large', they will be linked to page2.html, and so on. Any ideas how to ...
Button To Print Current Web Page
- (13)
Hi, Does anyone know how to create a button that will printo out the current page. What I want to
do is have the user fill out a form (containing name, address, zip, etc). They will then click on a
"print" button and it will print out the form data. Any ideas? Thanks....
Dynamic Forms Help - How Do I Create These?
- (8)
How To Make Cms For My Dynamic Website?
- A Content Management System (3)
It is a pain trying to have to write new code everytime you want to change something on my website.
I know there is an easier way to update content. I read about COntent Management systems which
apparently use XML. When I would enter the administartion area there woudl be dynamic fileds in
which I could edit the data and when I click submit it would change. The thing is that I know how
to add these forms to a page but I dont know how to create an adminstration area. I use php and one
of my friends said to use XML. I have a book but it is taking a long time to read....
Dynamic Drop Down Lists
- (0)
I've got 3 drop down lists. The first one changes what appears in the second two. For some
reason the code below is only deciding to show me the first two items that appear in the two drop
down lists in question. So, this leads me to believe the problem shuld be quite simple to solve!
but i've been stuck on it for a couple of hours now! If someone could help me out here
I'd be extremely extremely greatful!!!! CODE <select
name="free_item" onchange="relate(this.form)"> <option selected
value=&...
Dynamic Links
- (3)
his may be a CSS question, but it's the XHTML not validating that's giving me a problem.
I'm working with the most out-dated shopping cart software (Click Cart Pro) ever and I'm
trying to get it to validate XHTML 1.0 Transitional. All the XHTML I've supplied is good and
validates fine, but where I'm falling short at the moment is with the linking. ClickCart Pro -
by default - spits out HTML from 1996, and the links are supplied with ampersands - not the XHTML
character entity "&". Par l'exemple: Code: CODE <a href="http:...
Submit Button
- (3)
I have a form on my page. I do not have a submit button, but when I hit enter on my text field, it
is like I am clicking on a submit button. My page refreshes to the original state, and my values are
reset. I found this out because I made a submit button and tried it. Is there a way to get around
this? I am trying to use a javascript that captures the key strokes. That works, but then the submit
like event still fires after my code runs, nullifying any changes my code has made. html4strict
Code: CODE 1. <form name="FormPictureInfo"> 2....
Substitute Form Button For An Image
- homemade images in forms buttons (3)
Hi, I have the next formular : CODE <form method='post'
action='index.php?mode=2&id=1'> <input type='hidden'
name='name' value='Canon Digital Ixus 700'/> <input
type='hidden' name='id' value='1'/> <input
type='hidden' name='qty' value='1'> <input
type='hidden' name='cost' value='40'> <input
type='submit' value='Add to ca...
Enter Keypress Submits Wrong Button
- (2)
Ive got a form, with a submit button on the left and a submit button on the right. By default on the
enter keypress, the form submits the left submit button, but i want it to submit the right button.
How would i accomplish this? kvarnerexpress...
"dynamic Instance"
- (0)
My problem is the following: I work disconnected (no asp nor php etc...), with formsplayer What I
want to do is to change dynamically (script javascript) the source of the model instance. I thougth
about Something like: .... <script for="trChangeInstance" event="DOMActivate"
language="JScript"> ChangeModelInstance(); function ChangeModelInstance() { var theModel =
document.getElementById("myModel"); var theInstance = document.getInstanceElement("myData"); //...
//Change source to page2.xml //... theModel.refresh(); } Change instance source But ...
Looking for dynamic, button, size
|
|
Searching Video's for dynamic, button, size
|
advertisement
|
|