SMF Development > Fixed or Bogus Bugs
[2.0 RC3] margin and padding shorthand notation
(1/1)
Sverre:
I haven't followed development/the Bugtracker lately, but in case this hasn't been mentioned yet (a quick search didn't pull up any results), there is a large number of instances (in index.css) where the shorthand notation for these properties could be simplified. For example:
--- Code: ---#smileyBox_message
{
margin: 0.75em 0 0.5em 0;
}
--- End code ---
could be simplified to:
--- Code: ---#smileyBox_message
{
margin: 0.75em 0 0.5em;
}
--- End code ---
Also, a decision should probably be made regarding the notation of decimal length values between zero and one, so you avoid mixing the notations with the zero included and omitted.
Here's an example where the leading (superfluous) zero has been omitted:
--- Code: ---.post_verification
{
margin-top: .5em;
}
--- End code ---
MultiformeIngegno:
Interesting!
N. N.:
Thank you for the ideas. I think they may be worth looking into, time permitting. We are a bit constrained on that one. :)
Joshua Dickerson:
Sorry for necro-posting but I am moving this as I know Antechinus and others are keeping this in mind when they make CSS changes.
Thanks, Sverre
Navigation
[0] Message Index
Go to full version