SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2003
    Location
    India
    Posts
    162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anyone use Yahoo CSS ?

    Hi,

    I am planing to use YUI for my site. I am new to CSS, not sure if i have to use YUI Base CSS or YUI Grid CSS.

    http://com1.devnet.scd.yahoo.com/yui/base/
    http://com1.devnet.scd.yahoo.com/yui/grids/

    Can any one tell which one i have to use ?

    I read the docs, but i can't understand difference between the two and which one is advanced.

    Thanks,

    Yujin

  2. #2
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,116
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    Hi,

    If you don't know why you are using them then don't use either.

    The base CSS is just a reset similiar to
    Code:
    * {margin: 0 ; padding: 0;}
    But it explicitly sets default values for each element and doesn't have the problems that the above method does (like losing the depressed look of buttons in forms).

    The grid is similar to the 'blueprint' framework - it makes it simple to create grid like layouts from your elements using the predefined classes - without needing to know about CSS positioning and floats etc..

    It depends what you purpose in using the frameworks is, if you are wanting to learn about CSS this is not what you want to use, your better to start from scratch if you really want to learn about CSS rules and properties.

    But if you just want to be able to create layouts then you could use these frameworks. The reset and the fonts CSS files are good to include though - they will give you a consistent default in all browsers so there will be more consistency.

    Hope it helps

  3. #3
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    Base like Grid is an option of the YUI


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
  •