SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Introduction to CSS Shorthand

    These comments are in regards to the SitePoint.com article 'Introduction to CSS Shorthand'.
    an excellent article, although i feel that those new to CSS would be best to stick with the more verbose approach first to get the hang of how things work. once you've gathered a bit of confidence, this can indeed make your styles lean and mean
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I hardly ever use shorthand while actually developing a style sheet. Sometimes it gets in the way. For myself, I find it to use the verbose method as well because then I can see exactly what each attribute is doing.

    When I finish developing the style, I will run it through TopStyle 3.0's StyleSweeper utility and it will convert everything to shorthand quite nicely for me. Saves a lot of time and energy in the long run.
    Wayne Luke
    ------------


  3. #3
    ********* Streaker Lister14's Avatar
    Join Date
    Jun 2002
    Location
    C:\Documents and Settings\Desktop\Recycle Bin
    Posts
    677
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do use CSS shorthand and 'normal' CSS. Basically properties like margin, border,... I think are written clearer and faster by listing the values one after the other. However, I rarely use it for other properties as I still like to keep a big overview.
    In other words, it's easy to remember the clockwise working out of the above named properties, but when it comes to other values I chose not to get confused.

    Good article, nice to include the browser compatibilities.
    roy.lu
    C:\DOS... C:\DOS\RUN... RUN\DOS\RUN...!

  4. #4
    Ceci n'est pas Zoef Zoef's Avatar
    Join Date
    Nov 2002
    Location
    Malta
    Posts
    1,111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've read somewhere (just spend the last half hour searching but can't find where) that Opera (I think it was) doesn't support the margin shorthand. So one shouldn't use it. Anybody here have any experience with this?

    Greetings

    Rik
    English tea - Italian coffee - Maltese wine - Belgian beer - French Cognac

  5. #5
    SitePoint Enthusiast Option1's Avatar
    Join Date
    Nov 2002
    Location
    Up the back of the bus
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Lister14
    Good article, nice to include the browser compatibilities.
    Wot he sed!

    Actually, I do try and use the shorthand way more often than not for most things.

    Neil

  6. #6
    Object Not Found junjun's Avatar
    Join Date
    Mar 2002
    Location
    northern MI
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've read somewhere (just spend the last half hour searching but can't find where) that Opera (I think it was) doesn't support the margin shorthand. So one shouldn't use it. Anybody here have any experience with this?
    Eric Meyers Master Compatibility Chart mentions that Opera 4 has problems with correctly applying right and left margins to inline elements.

  7. #7
    SitePoint Guru
    Join Date
    Nov 2002
    Location
    Dubai
    Posts
    715
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have just got a grasp on HTML and CSS. I am trying to learn Javascript(with the help of some books) and PHP with the help of the book by Kevin Yank. Is it necessary to have a firm grasp of Javascript in order to create interactive websites? I do not seem to understand many scripts.


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
  •