Dracolas Posted December 15, 2009 Share Posted December 15, 2009 I'm Trying to make f1 a style as in f1 { font-size:15pt; color:#EEC900; } but it's not working when I try to do this: echo "<f1>Rank:</f1> $crank"; It just displays normal text..... HELP PLEASE! :'( Link to comment https://forums.phpfreaks.com/topic/185265-coloring-issues/ Share on other sites More sharing options...
FaT3oYCG Posted December 15, 2009 Share Posted December 15, 2009 i think you would want something like .f1 { font-size:15pt; color:#EEC900; } and echo('<span class="f1">Rank:</span>' . $crank); Link to comment https://forums.phpfreaks.com/topic/185265-coloring-issues/#findComment-978068 Share on other sites More sharing options...
haku Posted December 16, 2009 Share Posted December 16, 2009 Yep. No such tag as an f1 tag. Although theoretically, even though an f1 tag doesn't exist, it still should have worked (CSS doesn't really care about the existence of tags), so are you sure your CSS file is actually being linked to the page? Link to comment https://forums.phpfreaks.com/topic/185265-coloring-issues/#findComment-978195 Share on other sites More sharing options...
Dracolas Posted December 22, 2009 Author Share Posted December 22, 2009 ty and yes the css is linked.. fat that worked ty. Link to comment https://forums.phpfreaks.com/topic/185265-coloring-issues/#findComment-982515 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.