English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

On Myspace after applying different layouts, some layouts are designed so that even if you type exactly (for e.g.) "i like football", it will be displayed as "I Like Football" (automatically capitalising all first letters), or even some layouts show the text in entire capitals "I LIKE FOOTBALL".

Does anyone know what code it is that does this? And how to remove it/add it? Thanks.

2007-09-14 19:02:52 · 2 answers · asked by michael 2 in Computers & Internet Internet MySpace

**EDIT**: Thank you very much to Betwixt & Between for your respone to my question. I ended up discovering what the trick is:

There are several lines of coding you will find in a myspace design saying:
text-transform: capitalize;

If you change "capitalize" with "uppercase" or "lowercase", you can get other desired results.

Any savvy person wanting to know more can visit:
http://www.blooberry.com/indexdot/css/properties/text/texttrans.htm

2007-09-14 19:33:53 · update #1

2 answers

That is likely a part of the default, or set, font style they are using. Just change it up w/ this.

All your text goes here

For FONT STYLE HERE, replace it w/ another font you enjoy, such as Verdana, Trebuchet, Times New Roman, etc.

2007-09-14 19:07:15 · answer #1 · answered by Betwixt & Between 7 · 5 0

Do you by any chance have your CAPS LOCK button turned on?? If so, that will make everything come out in capital letters when you type something. Also , there are some fonts that automatically type in all caps.
However, in the book "HTML for Dummies", on pages 175-176, it says you use the "text-transform property" to set capitalization in your documents. The value may be one of these:
capitalize--Capitalizes the first letter in every word.
uppercase--All the letters in the text are put in uppercase
or capitals.
lowercase--all the letters are in small, lower case letters
with nothing in capitals.
none--keeps the value of the inherited element

A sample code would be:
body {color: (LOOK AT COLOR CHART FOR SPECIFIC COLOR NUMBERS OR LETTER/NUMBERS); font-family:Verdana,sans-serif; font-size:85%} hl {color: (SEE CHART); font-family: Arial, Helvetica, sans-serif; font-weight:800; font-size: 24pt; text-align:(PUT LEFT, RIGHT, OR CENTER HERE); text-transform: none}

(I put "none " in the last line because that gives both caps and lower case; the other things in caps above is what you want them to be in regards to color, how you want to align the text, etc. The numbers--like the 24 point type, etc--you can change). Hope this helps.

2007-09-15 02:50:07 · answer #2 · answered by jan51601 7 · 0 0

fedest.com, questions and answers