• Welcome to DNForum.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

Wanted: Service CSS Help Wanted. Simple. Reward.

Status
Not open for further replies.

GUA

Gremlin
Legacy Exclusive Member
Joined
Aug 22, 2006
Messages
1,495
Reaction score
5
I will give a $dnf reward for an explanation/advice here.

http://gua.com/domain-tools/masspay-file-generator/

My inputs are all styled by the same class "iinput" which has a width of 300px.

My submit button is styled by a class "submit-button" which also has a width of 300px.

Yet if you look at the page, the submit button and select button are not the same width.

Why?

Thanks
 
That happens because by default CSS adds 2px padding to input forms.

To correct, just put 304px in the "submit-button" style (or the other way round, 296px in the input style).

Hope that helps.
 
The fix is in fact 10px? I was wondering why.. Thanks
 
Status
Not open for further replies.
Back
Top Bottom