"Image submit button" problem in IE & Opera

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
jd75

"Image submit button" problem in IE & Opera

Post by jd75 »

Hello, at the moment, i'm working on a skin for the CMSMS adminpanel. I seem to get stuck on the imagebutton part (In the loginscreen of the admin panel).

When i push the 'img submit button' in Firefox, everything works just fine, but in the other browsers like IE & Opera, it does nothing. i've changed nothing of the php code in the login.php file, just the css and html.

This is the only thing that i've changed in login.php:

Code: Select all

<input class="lbsubmit" name="loginsubmit" type="image" src="../admin/themes/default/images/submit.png" 
value="<?php echo lang('submit')?>" />
<input class="lbsubmit" name="logincancel" type="image" src="../admin/themes/default/images/cancel.png"  
value="<?php echo lang('cancel')?>" />	
What am i doing wrong or missing?
Any help would be appreciated :)
jd75

Re: "Image submit button" problem in IE & Opera

Post by jd75 »

I have found a solution for my problem (not so pritty, but it works), i'll post it here for others with the same problem.

What i did was turn the cancel button into an ""
and added a 'hidden input' to the the submitbutton.
Locked

Return to “Layout and Design (CSS & HTML)”