Results 1 to 2 of 2

Thread: padding:initial vs. padding:0

  1. #1
    Join Date
    Nov 2009
    Posts
    211
    Thanks
    40
    Thanked 1 Time in 1 Post

    Default padding:initial vs. padding:0

    Does padding:initial have any advantage over padding:0? Example:

    Code:
    <style>
      textarea {
        padding: 0;
      }
    </style>
    <textarea>Hello, world!</textarea>
    If there's no difference whatsoever, then why is the initial keyword added to CSS3?

  2. #2
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    596
    Thanks
    43
    Thanked 28 Times in 28 Posts

    Default

    Thanks,

    Bud

Similar Threads

  1. Resolved padding issue
    By mlegg in forum CSS
    Replies: 1
    Last Post: 07-01-2011, 02:17 AM
  2. Margin/Padding
    By TheJoshMan in forum CSS
    Replies: 5
    Last Post: 07-31-2008, 02:47 AM
  3. FF & IE7 Text box padding
    By asa_carter in forum CSS
    Replies: 3
    Last Post: 11-27-2007, 04:13 AM
  4. padding problem on FF mac
    By tetrix in forum CSS
    Replies: 0
    Last Post: 11-02-2007, 11:14 PM
  5. Replies: 4
    Last Post: 10-28-2005, 08:05 PM

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
  •