I want every offer started with a capital letter. What means CSS use?
text-transform
raises either all or every word .
Answer 1, Authority 100%
On Pure CSS it is impossible to do this. Or wrap each offer to a separate div
and use the pseudolass : first-letter
, or fasten JavaScript.
Answer 2
Using only CSS
No
Answer 3
Try:
p: first-letter {text-transform: capitalize;}
Answer 4
Using CSS you can change the string only in block objects, headers and paragraphs.
We make the first letter of the capital, in the string in the OTF-8 symbol encoding format, using PHP:
$ title = MB_STRTUPPER (MB_SUBSTR ($ Content, 0, 1, 'UTF-8'), 'UTF-8'). MB_Substr ($ Content, 1, NULL, 'UTF-8'); Echo $ title;