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:234065
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54