I'm creating a theme for a CMS, and only have the ability to change the CSS associated with the page (no Javascript, PHP, etc).
Is there a way to change this list of users that we have:
JOHN SMITH
DAVID JONES
...
into proper title case (John Smith, etc) using CSS?
text-transform: lowercase;
works ok (john smith, etc) but text-transform: capitalize;
does nothing (remains capitalised).
Cheers,
Alex
As requested, the HTML is:
<tr> [...] <td class="cell c1">ALEXANDER MULLER</td> [...] </tr>
<tr> [...] <td class="cell c1">JOHN SMITH</td> [...] </tr>
And the CSS is:
td {
text-transform: capitalize;
}
On an unrelated note, this is the first time I've ever used Stack Overflow - and you guys are more than awesome, seriously... many thanks, it's greatly appreciated :)