Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2009
    Posts
    195
    Thanks
    22
    Thanked 0 Times in 0 Posts

    No fieldset padding top in IE8

    Sample form:

    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <title></title>
    <style>
    fieldset {padding: 15px;}
    </style>
    </head>
    <body>
    <form>
     <fieldset>
      <legend>Form</legend>
      <p>
      <label for="name">Name </label><input id="name" type="text">
      </p>
      <p>
      <label for="email">Email </label><input id="email" type="text">
      </p>
     </fieldset>
    </form>
    </body>
    </html>
    There's no padding top in IE8. Any cross-browser solution?
    Last edited by Rain Lover; 11-03-2012 at 08:58 PM.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello Rain Lover,
    Does this help any?
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Tags for this Thread

    Posting Permissions

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