Le 6 juil. 2012 à 07:06, John a écrit :
> http://www.coffeeonmars.com/testing/illust.html
>
> and throughout my site, any of those widgets with 3 words in their title
> (such as "Sheet Metal Dimpler") appear to wrap back upon themselves in Chrome
> and Firefox. Safari shows them the way I need to; all on 1 line. The type
> style for that widget header is in percent...maybe I should spec pixels to
> keep the size exact?
Which version of Safari ? (You're running Lion, So I guess 5.1.7). Have you
tried zooming in the text a little ? Sure enough, Safari wraps the text 'back
upon themselves'.
Which is to be expected, given this:
> h4 {
> • font-size: 90%;
> • line-height: 10%; <-------------- really ?
> • color: white;
> • padding: 0px 2px 0px 7px;
Change the line-height to something sensical (pref. without unit) and text will
wrap as expected when needed to.
Philippe
--
Philippe Wittenbergh
http://l-c-n.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/