A CSS percentage value is a real number followed by a percent sign. Percentage values can be negative or decimal. There should be no character between the real number and the percentage symbol.
Example: #nav {width: 80%}
Properties vary on the restrictions they place on the kind of percentage values that they accept (only positive or less-than-or-equal-to 100%).
No comments:
Post a Comment