diff options
author | valipour <valipour@gmail.com> | 2013-11-10 20:59:18 +0000 |
---|---|---|
committer | valipour <valipour@gmail.com> | 2013-11-10 20:59:18 +0000 |
commit | b5409e78f8ff6c47b3f1a39023aeb4f11bca1d9f (patch) | |
tree | 8067c61efdbf297354b2e47e4a96c1d9d17446ce | |
parent | 500e2855b5cf437322615d4f0f54202448039dab (diff) |
fix some issues in CSS english
-rw-r--r-- | css.html.markdown | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/css.html.markdown b/css.html.markdown index 0c1908c8..290f1ea3 100644 --- a/css.html.markdown +++ b/css.html.markdown @@ -48,7 +48,7 @@ div { } [attr='value'] { font-size:smaller; } /* start with a value*/ -[attr^'val'] { font-size:smaller; } +[attr^='val'] { font-size:smaller; } /* or ends with */ [attr$='ue'] { font-size:smaller; } @@ -164,10 +164,10 @@ that consists of the following components. margin --------------- -of these components all except margin add to the dimention of the element. +of these components all except margin add to the dimension of the element. -e.g. border-left: 10px; width: 100px; border-left: 2px; padding-left:5px; - => effective width of the element 117px (given all right components are zero) +e.g. padding-left: 10px; width: 100px; border-left: 2px; + => effective width of the element 112px (given all -right components are zero) */ selector { |