2012-08-03

css border shorthand, does order matter?

does the order of the style, width and color specified in a css border matter?
ie, is style="border: 1px solid black"
the same as style="border: black 1px solid"?

i had trouble finding the answer online, hence this post.

but from what i found, plus some experimentation, the answer is:

no, the order does not matter.

No comments:

Post a Comment