Re: [css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Micky Hulse
Sweet! Thanks for sharing. :D Cheers, Micky __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incu

Re: [css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Tim Martens
Expanding on Tantek's earlier developments, http://tantek.com/log/2004/09.html#d06t2354 our esteemed list mom writes about this here: http://www.meyerweb.com/eric/thoughts/2004/09/15/emreallyem-undoing- htmlcss/ What follows is Tantek's undohtml.css along with a few of my own additions: /*

Re: [css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Micky Hulse
Main reason why I asked was due to Alex Robinson's post on Yahoo UI widget library... in the reset CSS[1] Yahoo decided not to do the universal selector... CSS Grids http://developer.yahoo.com/yui/grids/ CSS Fonts http://developer.yahoo.com/yui/fonts/ [1] CSS Reset http://com2.de

Re: [css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Micky Hulse
Hi all! :) Thanks for the great info. You guys/gals rock! As always, thanks for sharing your tips, tricks, and techniques - much appreciated. Cheers, Micky __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/lis

Re: [css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Christy Collins
On May 11, 2006, at 3:30 PM, Christian Montoya wrote: > As > a result, buttons don't behave like buttons anymore, and so forth. I > never really noticed that, which only goes to show that I'm no longer > used to buttons behaving like buttons. I did some research in this, > and as it turned out, m

Re: [css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Christian Montoya
On 5/11/06, Micky Hulse <[EMAIL PROTECTED]> wrote: > /* Zero-out margins and padding for all elements: */ > * { margin: 0; padding: 0; } I used to advocate this, but have since moved on to my own version of Faruk's initial.css: http://kurafire.net/log/archive/2005/07/26/starting-css-revisited I

Re: [css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Jade Rauenzahn
Definately the first. The second way in which you are doing that is very tedious and it's really just an unnecessary use of code. The * is a universal selector and will cancel all those elements, plus any you might have missed. __

[css-d] Universal reset of margins and padding: Which technique do you prefer?

2006-05-11 Thread Micky Hulse
Hi all. Which is better... this: /* Zero-out margins and padding for all elements: */ * { margin: 0; padding: 0; } Or this: /* Avove same as saying: */ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;} I prefer the first, bu