Change size of highlight_string()?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
like_duh44
Forum Commoner
Posts: 63
Joined: Sat Jul 26, 2003 6:57 pm

Change size of highlight_string()?

Post by like_duh44 »

How would I go about changing the font size of highlight_string()? I tried putting the font tags around it, but to no avail. Any help is appreciated
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

It puts the text into <code> tags so you can change the size via CSS:

Code: Select all

CODE &#123; font-size: whatever; &#125;
Mac
Post Reply