« Testing and Debugging the Web Tier | Main | Ben Fry: Visualizing Data »
July 25, 2007
Making the Hard Stuff Fun and Easy with YUI
Listening to Vani Raja speak at OSCON 2007 about using the YUI CSS (slides).
YUI CSS is predefined styles that offer over 750 layouts, tested. Can do it all with div elements and id or class in elements.
- reset.css - cleans up the page, zerosremoves borders starts the
- fonts.css - handles uneven font scaling - set standard line heights
- grid.css - layout
Vani does a demonstration of each of these. The grid stuff is pretty cool, with some very minimal styling you can have nicely formatted pages.
Vani makes a good point about using semantic naming of styles so there is meaning in the names, not just a description of what the style does.
If you use float but you don't want the next item to float use clear: left;.
Using position: absolute; goes relative to the next parent up with a known position, which is almost always the body. For relative; the position is determined by the location of the element.
Recommendations: TextMate, Transmit, CSSEdit, Coda, Free Ruler, DigialColer Meter, CSSViewer, Opera9/Mini, Dolor Sit Amet (OS X Widget for generating lorum ipsum).
Highly recommends the Web Developer Handbook.
Posted by mike at July 25, 2007 2:34 PM
Hard Drive Recovery Group offers hard disk data recovery services for RAID, laptops and servers. Complete clean room and hard drive repair service.Trackback Pings
TrackBack URL for this entry:
http://mike.kruckenberg.com/mt/mt-tb.cgi/1030