how to make timespan() ouput into small caps? |
[eluser]newbie boy[/eluser]
my timespan() output works perfectly fine... but my problem is the capital output out of it... maybe its the default... like 1 Year, 10 Days, 3 Hours, 5 Minutes ... how can i make these words into small caps? thanks..
[eluser]newbie boy[/eluser]
thanks, Lab Technician ... but still doesn't work ... it only makes the font-size smaller ... is there others ways?
[eluser]Thorpe Obazee[/eluser]
[quote author="newbie boy" date="1242985377"]my timespan() output works perfectly fine... but my problem is the capital output out of it... maybe its the default... like 1 Year, 10 Days, 3 Hours, 5 Minutes ... how can i make these words into small caps? thanks..[/quote] If that's not working, then maybe we may be missing something... did you mean lowercase? then text-transform:lowercase http://www.w3schools.com/Css/pr_text_text-transform.asp
[eluser]Thorpe Obazee[/eluser]
[quote author="Wuushu" date="1242994015"] Code: <?= strtolower(timespan($time)) ?> that would be correct if the meant lower case
[eluser]Dam1an[/eluser]
There seems to be some confusions of what exactly you're trying to acheive... Can you give an example of what you want, and the code snippets you've tried
[eluser]Wuushu[/eluser]
font-variant: small-caps; does work, you're doing something wrong then with your CSS. Tried and tested, works. |
Welcome Guest, Not a member yet? Register Sign In |