On 7/23/06 2:33 PM, "Steve Clason" <[EMAIL PROTECTED]> wrote:
> 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/
>
Thank you for your reply.
Sorry if this is a duplicate, I don't think it got posted. I put the code
in along with my color settings but I lost my color and there is more space
than before and the h1 came out huge. I'm sure I must have put in something
that is interfering but I don't know what.
updated sample page is the same http://www.egretdesign.com/test.shtml
Can you tell me what I did wrong.
Thanks,
Liz
______________________________________________________________________
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/