PHP Developers Network
http://forums.devnetwork.net/

Can you force square borders on Submit in Safari?
http://forums.devnetwork.net/viewtopic.php?f=68&t=140412
Page 1 of 1

Author:  simonmlewis [ Tue Oct 14, 2014 10:29 am ]
Post subject:  Can you force square borders on Submit in Safari?

We have an issue where we are setting the colours and borders of form submit buttons - it works fine in Firefox, but on an iPhone, it overrides it and changes the shape to look like a capsule.

Is there a CSS that will override that, or do I have to put up with a capsule?

I don't want to use <a> tags and Script to do it. Just want to control the appearance of a Submit button.

Author:  simonmlewis [ Tue Oct 14, 2014 10:32 am ]
Post subject:  Re: Can you force square borders on Submit in Safari?

Crikey answered it myself already.

input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/