[Project_owners] Need to change on a html page, but only xhtml phasing is avaliable

Jesper Staun Hansen jesper at selvet.dk
Tue Jan 8 05:35:52 PST 2008


Example of page needing change:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META HTTP-EQUIV="pragma" CONTENT="nocache">
<html><head><META HTTP-EQUIV='Refresh' CONTENT='10;URL=chat.asp?mode=chat_frame&klanchat=1'>
body {
	margin-left:100px; background:black;	
	FONT-FAMILY: verdana, arial, 
	sans-serif; FONT-SIZE: 8pt} 	
TR {
	BACKGROUND: #003399; 
	COLOR: white; 
	FONT-FAMILY: verdana, arial, sans-serif; 
	FONT-SIZE: 8pt; MARGIN: 5px;} 	
TR B {
	color: yellow} 	
TR A {
	color: white} 
<body bgcolor='#4A4E7F' text=#ffffff link=#ffffff alink=#ffffff vlink=#ffffff topmargin='10' leftmargin='10'>
<font face='verdana, helvetica' size='1'>
<b><font color='#ffeecc'>OtherPerson       </font> : 
	<font color='#ffffff'>whopzer</b></font>
<br><b><font color='#ffeecc'>AxeDecapitators       </font> : 
	<font color='#ffffff'>whoper</b></font>
<br><b><font color='#ffeecc'>AxeDecapitators       </font> : 
	<font color='#ffffff'>whopper</b></font>
<br><font color='#ccbb99'>14:12:26</font> 
<font color='#ffeecc'>system</font> : 
	<font color='#ffffff'>AxeDecapitators        Logged on</b></font>

(as you note the webpage dev. didn't care enough to make </body> and 
</html> ending tags...)
The result:
*OtherPerson: whopzer*
*AxeDecapitators : whoper*
*AxeDecapitators : whopper*
14:12:26 system : AxeDecapitators Logged on

What I want to is to give each user its own text color randomly selected.
But as this is only html then i'm a bit on flat ground, as the xhtml 
phaser wont take it.
Thinking about putting it in a sandbox and mark it as xhtml, but that 
wont change the lack of good programing, and how do I get it out of the 
sandbox again and show it to the user?

More information about the Project_owners mailing list