Yes, put it in all your global css files towards the top. Anything that
redefines it has to defined below it (in either the same file or another
file that is called after it).

I'm doing two CSS talks at CFUNITED one on floats and one on positioning.

I'm also in talks to possibly do an open class (4 days, hands on) in
Hartford CT. Dates still up in the air.  If anyone wants to be notified on
this or other classes I might hold, let me know via email and I'll put you
on this list.

Sandy

-----Original Message-----
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 03, 2006 12:21 PM
To: CF-Talk
Subject: Re: CSS UL IE help

Thanks CSSandy (or is it CSSandra?).  :)

This is uber-helpful.  Just dump this in the top of all my css definition
files when I'm developing new sites, and I'm good to go? 
Kind of a "best practice"?

Are you doing any CSS seminars at CFUnited?

Sandra Clark wrote:
> Each browser has its own style sheet which sets (among other things) 
> default margins and padding for each element.  The best way I have 
> found to combat this is to specifically zero out all margins and 
> paddings from all elements first and explicitly set them up as necessary.
> 
> h1,h2,h3,h4,h5,h6,p,ul,li,br,table,div,ol,a{
>       margin:0;
>       padding:0;
> }
> 
> It involves a bit more work, but I have found it creates more 
> consistency between browsers.
> 
> Sandra Clark
> 
> -----Original Message-----
> From: Ray Champagne [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 03, 2006 8:46 AM
> To: CF-Talk
> Subject: CSS UL IE help
> 
> I have a site I'm mocking up and am having some trouble with padding 
> in my ul list looking different in IE and FF.  Take a look at the 
> below URL
> - the bottom green bulleted list looks great in FF, but has way too 
> much padding in IE.  Anyone know how to fix that?  Either Google can't 
> find what I'm looking for as far as answers go, or I'm not searching 
> for the right terms.
> 
> Thanks for the help!
> 
> Ray
> 
> http://wwwcvwp.com/proulx/index.cfm
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234066
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to