grazzman Posted January 3, 2007 Share Posted January 3, 2007 Ok, I'm still a noob at the hole php stuff i guess.Im doing a normal echo $line['blabla'] ... That part works fine... but It will not take on any font properties other then the page default settings...So, the page font size is 12, all my echo lines are 12... even with <font size='10px'> around it...Can anyone let me in on what im doing wrong or missing. Quote Link to comment Share on other sites More sharing options...
matto Posted January 3, 2007 Share Posted January 3, 2007 <font size='10px'> ? not sure thats valid - you could test it by changing it to <font size="1"> Quote Link to comment Share on other sites More sharing options...
grazzman Posted January 3, 2007 Author Share Posted January 3, 2007 Ok, here is the full line<td align="center" valign="top"><font size='-2'><?php echo $line['RankTitle'] ; ?></font></td>No matter what I set the size= it will not change the size, it stays at 12, the page default. Quote Link to comment Share on other sites More sharing options...
matto Posted January 3, 2007 Share Posted January 3, 2007 <font size='-2'> ? not sure thats valid either.... Quote Link to comment Share on other sites More sharing options...
supa5teph Posted January 10, 2007 Share Posted January 10, 2007 I would use CSS.<pre><td align="center" valign="top"><div style="font-size: 10px;"><?php echo $line['RankTitle'] ; ?></div></td></pre>hope it works. ;) Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 10, 2007 Share Posted January 10, 2007 you should ,unless absolutely neccessary (when would that be?), leave ALL your styling to an external css file - it makes maintaining your site VASTLY simpler. 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.