Gautam Bhatia wrote:
> Hello all,
>              My question was regarding values,Is it a bad practice to
> have negative values in your css file, for example
>
> padding : -5%;
>
> Regards,
>
> Gautam Bhatia .
>
>
>   


Not on padding. Your CSS is not valid (negative values on padding are 
not allowed).

Negative values /are/ allowed on margins,
<http://www.communitymx.com/content/article.cfm?cid=b0029>
and negative values are sometime used in creating a stacking order, 
z-index, of absolute positioned elements.
<http://www.w3.org/TR/CSS2/zindex.html>

There are a few other instances where negative values are allowed in the 
CSS2.1, CSS3, specs. Perhaps someone else can point you to them. I am 
brain dead at the moment.
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to