On Tue, Jun 26, 2012 at 3:43 PM, Philip TAYLOR <p.tay...@rhul.ac.uk> wrote:
> Perhaps the spaces here : > > <p class="grid_10 search-result"> <span class="title"> >> > > Philip Taylor > Thanks, Philip. Hmm, interesting thought. I wouldn't think it would make a difference, since my CSS is targeting #results-list .title and #results-list .title::first-letter, rather than .search-result, but I thought I'd give it a try anyway. I have now removed _all_ extraneous spacing from my #results-list div, but I'm still seeing the same behavior, or lack thereof, regarding #results-list .title::first-letter. (Note: I've also removed the "search-result" class; it wasn't necessary and wasn't in the original code I was working on, anyway.) Further testing seems to reveal that the problem is somehow with my selector. I added a background-color: red declaration to all my rule sets involving ::first-letter, and it's working on my simple examples, but not on my "live" / "production" example. http://kage23.com/text-transform.html Any other ideas? > -------- > > Kyle Sessions wrote: > > I'm trying to figure out if it's possible (via purely CSS) to take some >> UPPERCASE TEXT and display it as Title Case (i.e. The First Letter Of >> Every >> Word Capitalized), or, less ideally but better than all-caps, Sentence >> case >> (i.e. The first letter of the sentence/element capped, the rest >> lowercase). >> > > > http://kage23.com/text-**transform.html<http://kage23.com/text-transform.html> >> > ______________________________**______________________________**__________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/**mailman/listinfo/css-d<http://www.css-discuss.org/mailman/listinfo/css-d> > List wiki/FAQ -- > http://css-discuss.incutio.**com/<http://css-discuss.incutio.com/> > List policies -- > http://css-discuss.org/**policies.html<http://css-discuss.org/policies.html> > Supported by evolt.org -- > http://www.evolt.org/help_**support_evolt/<http://www.evolt.org/help_support_evolt/> > -- Kyle G Sessions Berkeley Electronic Press ksessi...@bepress.com 510-665-1200 + 128 www.bepress.com bepress: the frontier of scholarly publishing since 1999 Check out IR success stories on the DC Telegraph at http://blog.digitalcommons.bepress.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/