Results 1 to 2 of 2

Thread: Capital letters in css templates?

  1. #1
    Join Date
    Sep 2007
    Posts
    2

    Capital letters in css templates?

    I have downloaded some free templates and sent them to my web space, but the headings are showing up with lower case lettering. Example: welcome, not Welcome. Is there a change I can make in the code or style sheet? New to css, so steep learning curve.

  2. #2
    Join Date
    Dec 2004
    Posts
    2,788
    You do this in CSS by specifying a text-transforn attribute, of which there are four choices: capitalize, uppercase, lowercase and none. The one you want is this:
    .ttu{text-transform:uppercase;}

    The other related attributes:
    .ttl{text-transform:lowercase;}
    will make everything lowercase

    .ttc{text-transform:capitalize;}
    will capitalize the first letter of each word

    and
    .ttn{text-transform:none;}
    applies no capitalization effects (and obviously not used much).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •