Skip to content

Commit 29f8e58

Browse files
author
Jim Jeffers
committed
Updated readme with some further directions.
1 parent f9d9b4a commit 29f8e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ As ems:
2020
As px:
2121
`$("#content p").minLineHeight("13px")`
2222

23-
If the amount is passed as a float or any units other than px, the script will default to ems.
23+
If the amount is passed as a float or any units other than px, the script will default to ems. In order for min-line-height to take effect an element must have a min-width, max-width, and default line-height (serves as the max-line-height) specified in CSS. Any element without one of the three properties will simply not get processed.
2424

2525
# Why you can't use custom CSS properties to handle this:
2626

27-
Ideally, specifying them min-line-height in a CSS file would be the most manageable way of maintaining the min-line-height property, but Research found that per the CSS 2.1 spec the web browser ignores any property it doesn't recognize:
27+
Ideally, specifying them min-line-height in a CSS file would be the more manageable, but research found that per the CSS 2.1 mandates browsers to ignore any unrecognized properties:
2828

2929
http://stackoverflow.com/questions/9143501/is-it-possible-to-utilize-a-custom-css-properties-with-javascript/9143684#9143684
3030

0 commit comments

Comments
 (0)