Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Add auto to margin CSS code hint #6359

Merged
merged 1 commit into from
Jan 7, 2014

Conversation

stowball
Copy link
Contributor

@stowball stowball commented Jan 4, 2014

The margin property allows the use of the keyword "auto", which is commonly used for centering elements. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin for info

@ghost ghost assigned redmunds Jan 5, 2014
@redmunds
Copy link
Contributor

redmunds commented Jan 7, 2014

Thanks. We haven't decided yet how to handle shorthand properties, but this is an improvement.

Also, w3.org links (e.g. http://www.w3.org/TR/CSS2/box.html#margin-properties) are better since they are always browser-agnostic.

Merging.

redmunds added a commit that referenced this pull request Jan 7, 2014
@redmunds redmunds merged commit 87080f9 into adobe:master Jan 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants