Liz wrote:

> Sorry for such a novice question but I am still new at css layout and very
> new at using percents for fonts. I'm having trouble creating less space
> above and below my H1 and H2 tags and I want no space under my H3.  I don't
> know the best way to do this.
> 
> I have tried various solutions that work in IE but not other browsers and
> vice-versa, but nothing that gives consistent results in all.
> 
> Sample page http://www.egretdesign.com/test.shtml

Hi Liz,

One approach is to zero the margin and padding on all h* elements and 
then set them explicitly to what you want:

h1, h2, h3 (margin:0;padding:0;)
h1 {padding: 1em 0}
h2 {padding: .5em 0}
h3 {padding-top: .5em}

for instance.


--
Steve Clason
Web Design & Development
Boulder, Colorado, USA
www.topdogstrategy.com
(303)818-8590

______________________________________________________________________
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.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to