Welcome to Welcome to DNF.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 largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    Gremlin
    GUA's Avatar
    Join Date
    Aug 2006
    Location
    UK
    Posts
    1,571
    Country

    UK
    DNF$
    7,783
    Bank
    0
    Total DNF$
    7,783
    Donate  

    CSS Help Wanted. Simple. Reward.

    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
    Read my blog, use my domain tools (Domain Portfolio Manger, Whois History, Domainer Directory and More) http://GUA.com

  2. #2
    DNF Regular
    Vorty's Avatar
    Join Date
    Nov 2005
    Location
    Scotland
    Posts
    607
    DNF$
    9,175
    Bank
    0
    Total DNF$
    9,175
    Donate  
    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.

  3. #3
    Gremlin
    GUA's Avatar
    Join Date
    Aug 2006
    Location
    UK
    Posts
    1,571
    Country

    UK
    DNF$
    7,783
    Bank
    0
    Total DNF$
    7,783
    Donate  
    The fix is in fact 10px? I was wondering why.. Thanks
    Read my blog, use my domain tools (Domain Portfolio Manger, Whois History, Domainer Directory and More) http://GUA.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com