[thelist] What's a good newbie CSS List?

ben morrison morrison.ben at gmail.com
Wed Jun 7 10:34:34 CDT 2006


On 6/7/06, Mark Groen <evolt at markgroen.com> wrote:

> Got a way to fix that for you, using Firefox and the Web Developer
> extension courtesy of Chris Pederick:
>
> https://addons.mozilla.org/firefox/60/
>
> Under the "Outline" tab, tick the "Outline Current Element" option. When
> you mouse over an element on the page the status bar at the bottom of
> the browser window shows the Firefox interpretation of the CSS cascade
> for you.

Better still use the CSS>View style information  - that way you can
click on an element aswell and it will tell you what styles are being
applied.

> and if you go through the front page http://css-discuss.incutio.com/
> like it was a few months at school, you'll be a star soon enough. My 2
> cents and what works for me: start with the universal selector zero-ing
> all margins and padding, use ems or percent for everything, pay
> attention to line-heights if pixel perfect precision is required. The
> hardest part personally was to learn to make everything work using
> floats in various browsers, but once past that curve it was easy enough
> to avoid absolute positioning, (just always seems to turn into trouble
> for me eventually, ymmv), or hacks.
>
> * { margin:0; padding:0; }

You need to be careful with setting everything to zero, I do use it
but I also then setup generic rules for all elements.

http://leftjustified.net/journal/2004/10/19/global-ws-reset/

Ben



More information about the thelist mailing list