Also, see:
http://css-tricks.com/almanac/properties/l/line-height/






*Unitless Line HeightsThe recommended method for defining line height is
using a number value, referred to as a "unitless" line height. A number
value can be any number, including a decimal-based number, as is used in
the first code example on this page.Unitless line heights are recommended
due to the fact that child elements will inherit the raw number value,
rather than the computed value. With this, child elements can compute their
line heights based on their computed font size, rather than inheriting an
arbitrary value from a parent that is more likely to need overriding.*


On Wed, Mar 19, 2014 at 12:41 PM, Crest Christopher <
[email protected]> wrote:

> Hi, I can successfully change the line height for {h3.contact a:
> font-size:7em;line-height:40%;} but when I add line-height to {h3.gallery
> a:hover - color:orange;line-height: 40%;} nothing changes.  I know I can
> change the line height for the list with {nav li}.  I want a little more
> control over each pseudo element.
> ______________________________________________________________________
> css-discuss [[email protected]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>



-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to