CSS Submit and Reset button problem, Submit doesn't depress while Reset does using same CSS |
CSS Submit and Reset button problem, Submit doesn't depress while Reset does using same CSS |
CharlesEF |
Oct 25 2015, 12:05 PM
Post
#21
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
|
pandy |
Oct 25 2015, 04:54 PM
Post
#22
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I missed that (that Christian told you so). Or I guess I saw it and when I came back I had forgotten about it.
But WHY does this happen? What's the connection between padding and the text on the button? It isn't that it gets to cramped or anything like that. The button won't depress with a short text either. |
CharlesEF |
Oct 25 2015, 06:06 PM
Post
#23
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
In case anyone is interested, I got a response from Mozilla. Seems the built-in forms.css file has a 1px shift in padding when you hover. Actually, there is a 6px padding setting on normal controls and the hover has a 7px padding setting which makes the 1px shift.
They never said it was a bug but I should remember this in the future |
pandy |
Oct 25 2015, 09:39 PM
Post
#24
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Ah! When you click you mean? Great that you got an anwer.
|
CharlesEF |
Oct 25 2015, 09:53 PM
Post
#25
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
|
pandy |
Oct 26 2015, 10:37 AM
Post
#26
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I haven't noticed that anything happen with buttons on hover. Must have a closer look then.
|
CharlesEF |
Oct 26 2015, 11:08 AM
Post
#27
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
I haven't noticed that anything happen with buttons on hover. Must have a closer look then. To be honest, after getting some sleep, I'm not sure I agree with the Mozilla people. I mean, why did the Reset button depress like it should but not the Submit button? My brain hurts. Anyway, the problem is fixed so I'm going to take some aspirin. |
Lo-Fi Version | Time is now: 24th April 2024 - 10:59 PM |