Welcome Guest, Not a member yet? Register   Sign In
how to make timespan() ouput into small caps?
#1

[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..
#2

[eluser]Dam1an[/eluser]
Just need a little CSS
Code:
font-variant:small-caps
#3

[eluser]newbie boy[/eluser]
thanks, Lab Technician ...

but still doesn't work ...

it only makes the font-size smaller ...

is there others ways?
#4

[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
#5

[eluser]Wuushu[/eluser]
Code:
<?= strtolower(timespan($time)) ?>
#6

[eluser]Thorpe Obazee[/eluser]
[quote author="Wuushu" date="1242994015"]
Code:
<?= strtolower(timespan($time)) ?>
[/quote]

that would be correct if the meant lower case Sad
#7

[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
#8

[eluser]Wuushu[/eluser]
font-variant: small-caps; does work, you're doing something wrong then with your CSS. Tried and tested, works. Smile




Theme © iAndrew 2016 - Forum software by © MyBB