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! :'( Quote 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); Quote 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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/185265-coloring-issues/#findComment-982515 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.