victor NOAGBODJI wrote:
> In my CSS I have h1,h2,h3 {margin:0;padding:0}
> So that I can set margin bottom; the problem is that it isn't working.
>
> Am I doing something wrong?
>
I don't know as I am not sure I understand the question.
> CSS snip :
>
> form,p,h1,h2,h3 {margin:0;padding:0}
> #cotedroit h2 {
> color:#80786a;
> font-size:16px
> }
> #cotedroit h3 {
> color:#948b7b;
> font-weight:normal;
> font-size:12px;
> letter-spacing:.1em;
> text-transform:uppercase
> }
> #cotedroit p {margin-bottom:10px}
>
This CSS /may/ yield a 10px margin beneath h2, h3, and p with the html
that was in your post. Is this what you are after?
/*form,p,h1,h2,h3 {margin:0;padding:0}*/
body { font-size: 100%; line-height: 1.1; }
#cotedroit h2 {
color:#80786a;
font-size: 100%; margin-top: 0; margin-bottom: 10px;
padding-bottom: 1px;
}
#cotedroit h3 {
color:#948b7b;
font-weight:normal;
font-size: 90%;
letter-spacing:.1em;
text-transform:uppercase; margin-top: 0; margin-bottom: 10px;
padding-bottom: 1px;
}
#cotedroit p { margin-top: 0; margin-bottom: 10px;
background-color: fuchsia; }
Regards,
~davidLaakso
--
http://www.dlaakso.com/gustave/
______________________________________________________________________
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/