Can I use negative values in margins and padding such as:
H1 {
Margin: -1em;
}
Thanks
Lisa
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ --
Birdie wrote:
Can I use negative values in margins and padding such as:
H1 {
Margin: -1em;
}
Thanks
Lisa
Yes, on the margin. No, on padding. Unlike margin properties, values
for padding values cannot be negative.[1]
[1]
Can I use negative values in margins and padding such as:
H1 {
Margin: -1em;
}
yes - but only for margins - there is no negative padding
negative margins allow for many advantages in design
__
css-discuss