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. Link to comment https://forums.phpfreaks.com/topic/32679-problem-with-fonts/ 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"> Link to comment https://forums.phpfreaks.com/topic/32679-problem-with-fonts/#findComment-152073 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. Link to comment https://forums.phpfreaks.com/topic/32679-problem-with-fonts/#findComment-152074 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.... Link to comment https://forums.phpfreaks.com/topic/32679-problem-with-fonts/#findComment-152076 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. ;) Link to comment https://forums.phpfreaks.com/topic/32679-problem-with-fonts/#findComment-157156 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. Link to comment https://forums.phpfreaks.com/topic/32679-problem-with-fonts/#findComment-157198 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.