Little Fixes

Tuesday, March 18, 2008

Safari form spacing problem

Safari will render a form with extra space at the bottom (typically, right under your submit button), whereas more compliant browsers like Firefox do not. This makes login boxes and other colored form divs and tables render improperly.

The fix is simple ... add this to your opening form tag:

form style="margin: 0px; padding: 0px;"
Posted by Greg Bryant at 11:58 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2025 (1)
    • ►  May (1)
  • ►  2024 (5)
    • ►  November (1)
    • ►  July (2)
    • ►  April (1)
    • ►  March (1)
  • ►  2023 (7)
    • ►  November (1)
    • ►  October (2)
    • ►  June (1)
    • ►  April (2)
    • ►  January (1)
  • ►  2021 (3)
    • ►  September (1)
    • ►  March (2)
  • ►  2016 (4)
    • ►  August (1)
    • ►  June (1)
    • ►  May (1)
    • ►  March (1)
  • ►  2015 (6)
    • ►  December (1)
    • ►  September (2)
    • ►  August (1)
    • ►  July (1)
    • ►  May (1)
  • ►  2014 (2)
    • ►  February (2)
  • ►  2012 (1)
    • ►  June (1)
  • ►  2009 (1)
    • ►  May (1)
  • ▼  2008 (4)
    • ►  June (2)
    • ►  May (1)
    • ▼  March (1)
      • Safari form spacing problem
  • ►  2007 (9)
    • ►  September (2)
    • ►  August (2)
    • ►  March (3)
    • ►  January (2)
  • ►  2006 (4)
    • ►  October (4)

About Me

Greg Bryant
View my complete profile
Awesome Inc. theme. Powered by Blogger.