PDA

View Full Version : Font change



stephencamilleri
12-21-2005, 02:18 PM
Can someone please show me how to change the font of the following variable (output) to Arial?

output = output + "<HR><BR><b>L-ebda rizultat ma jaqbel mat-tfittxija tieghek.</b> <br>";

Twey
12-21-2005, 03:07 PM
output = '<span style="font-family: Arial serif;">' + output + "<HR><BR><b>L-ebda rizultat ma jaqbel mat-tfittxija tieghek.</b> <br></span>";
This sounds like a homework question to me...

sleipner
12-25-2005, 10:53 AM
or you could use simple <font> tags, though I'm not sure if it's become depricated (I learned HTML 4.0, not sure if the ver. has gone up?)