Jump to content


Photo

submit buttons


  • Please log in to reply
5 replies to this topic

#1 knowram

knowram
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts

Posted 19 August 2006 - 02:20 AM

I am using multiple submit buttons on my site and am finding that if the value of the button is to long IE dose strange things to the button. It will add blank space to the sides of the text and stretch the border. Is there anyway to keep IE from doing this?

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 19 August 2006 - 02:28 AM

Are you suggesting this behaviour only occurs when using IE?  Can we see some live example of the problem?
Legend has it that reading the manual never killed anyone.
My site

#3 knowram

knowram
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts

Posted 19 August 2006 - 02:44 AM

I know that it happens in IE and not in Safari but I am not sure about firefox for pc. And I don't have any examples that I can show the part of the site that is having this problem is password protected.

#4 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 19 August 2006 - 12:00 PM

It's hard to suggest a fix for what we can't see.  Why not just copy a few code examples that include your button problem and post those where they can be viewed. 

Even a screenshot would be better than a crystal ball for solving this  ;D

Even so, I suspect that the 'problem' you're having is just the way different browsers work and not something that is completely controllable with html/css.

This - http://www.456bereas..._form_controls/ - may shed some light on how browsers handle different form controls.
Legend has it that reading the manual never killed anyone.
My site

#5 knowram

knowram
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts

Posted 21 August 2006 - 11:59 PM

here is an image of the problem that I am talking about. As far as I can tell this is only a proble with IE.
-

[attachment deleted by admin]

#6 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 22 August 2006 - 12:29 AM

simple answer is no - its what ie does!

if you can maybe use a link instead and set href to a js function that will detect the link and submit accordingly.

Or use input type="image" and have an image that you have full control over (but not very flexible IMO)
follow me on twitter @PHPsycho




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users