Hi,
How can you change font types, size and color that are fetched from the database and posted on a html or php site?
Is there a php code for that...?
should the code be in the php or html....?
Agusta
should be using html/css
<? //do your database shiz here... echo "<font style=\"color: #000000; bgcolor: #fff000; text-align: center;\">" . $result . "</font>";
i suggest googling for some css tutorials
Yep, except you mean <span>, as <font> is deprecated 🙂
is it??
shrug i still use it in my stuff... maybe i should go fix that :-/
Originally posted by pjleonhardt is it?? shrug i still use it in my stuff... maybe i should go fix that :-/
Yep; has been for the last six years 🙂 . There's no point using <font> if you're going to put everything in a style anyway.