[development] Changes to capitalization

Farsheed tfarsheed at yahoo.com
Wed Sep 13 07:06:12 UTC 2006


> You can get close with text-transform: capitalize,
> but this capitalizes 
> all the first letters. And, up to now, it seems the

Actually, you can use a pseudo-element to capitalize
only the first letter:

p:first-letter 
{
  text-transform: uppercase;
}


<p>this is some text.</p>

becomes:

This is some text.





> "Drupal way" for 
> fieldsets and field labels is "Capital first letter
> of phrase only". I 
> prefer this, and would like to have all of Drupal
> consistent.
> 
> Rob Roy Barreca
> Founder and COO
> Electronic Insight Corporation
> http://www.electronicinsight.com
> rob at electronicinsight.com
> 
> 
> 
> Earl Miles wrote:
> > Jason Flatt wrote:
> >> On Tuesday 12 September 2006 16:53, Neil Drumm
> wrote:
> >>
> >>> Rob Barreca wrote:
> >>>
> >>>> With all the huge improvements going on in HEAD
> right now, I'd like to
> >>>> bring up a really trivial one, but it's
> something that has always 
> >>>> bugged
> >>>> me. Maybe I'm anal, but I think all the
> page/callback/block titles
> >>>> should convert from all lowercase to a capital
> first letter of the
> >>>> phrase and the rest lowercase.
> >>>>
> >>
> >> [ s n i p ]
> >>
> >>> If someone wants to put forth all the effort to
> capitalize every menu
> >>> item title and drupal_set_title() and get
> everyone to agree on it, I'd
> >>> be happy to commit it.
> >>
> >>
> >> Split into mutilple smaller patches so they are
> considered sooner?
> >>
> >> This as it has been a hot button of mine, as
> well.
> >>
> >
> > On my sites I just use CSS to capitalize.
> >
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the development mailing list