www.webdeveloper.com
Results 1 to 3 of 3

Thread: which is better

  1. #1
    Join Date
    Jul 2009
    Posts
    27

    which is better

    Hi everybody i have a question, Which way is better to write CSS style 1 or 2? and What's the difference between 1 and 2?

    #1
    Code:
    #something {margin:.5em;padding-top: 20px;font-size: 85%;line-height: 1.5em;text-align: left;}
    #2
    Code:
    #something 
    {
      margin:.5em;
      padding-top: 20px;
      font-size: 85%;
      line-height: 1.5em;
      text-align: left;
    }

    any help would be appreciated.
    Best regards.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    #1 smaller files

    #2 more legible
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Jul 2009
    Posts
    27
    Hi Fang, many thanks for your help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles