garydt Posted January 16, 2009 Share Posted January 16, 2009 I'm trying to control the font size through a php variable. I've got- <font size="<?php echo $text; ?>"> but it's not accepting it. Whats wrong? Thanks Quote Link to comment Share on other sites More sharing options...
Psycho Posted January 16, 2009 Share Posted January 16, 2009 What do you mean "it's not accepting it."? What is the HTML output? Is there is a value in the size field? If not, the value is not being set. But, you should not be using the FONT tag anyway - it has been deprecated since 1999. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.