Even when I tidy up the HTML I still don't see transparency :-( I'm expecting to see the game level behind the MOTD: is it actually possible? If anyone has a simple example I'd love to see it.
Cheers, Matt. 2009/7/12 Paca <[email protected]> > Saint K. a écrit : > > Hi, > > > > Have a look here, this might be of help; > > http://www.specialattack.net/node/39 > > > > Cheers > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Matt > > Ford > > Sent: zondag 12 juli 2009 15:13 > > To: Half-Life dedicated Linux server mailing list > > Subject: [hlds_linux] Transparent MOTD for l4d > > > > Hi All, > > > > I'm struggling with a transparent background for the motd.....I've tried > > both setting the body background-color to transparent and the old single > > pixel transparent gif trick. > > > > Am I missing something? Is it possible? > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> > > <TITLE>Setting the canvas background</TITLE> > > <STYLE type="text/css"> > > <!-- body { background-image: url("/l4d/spacer.gif") } --> > > body { background-color: transparent } > > h1 { color: green } > > </STYLE> > > <center><h1>Dancingfrog L4D Server</h1></center> > > <center><img src="/l4d/df_tag_2.jpg" alt="Thanks for not > > leaving!"></center> > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > Checked by AVG - www.avg.com > > Version: 8.5.375 / Virus Database: 270.13.11/2232 - Release Date: > > 07/11/09 17:56:00 > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > Well, you forgot somes importante standar html balise ( <html> <head> > <body>... ) > You defined a css for the body but you do not declare it... > > Something like this is probably better ^^ > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> > <html> > <head> > <title>Setting the canvas background</title> > <style type="text/css"> > <!-- body { background-image: url("/l4d/spacer.gif") } --> > body { background-color: transparent } > h1 { color: green } > </style> > </head> > <body> > <center><h1>Dancingfrog L4D Server</h1></center> > <center><img src="/l4d/df_tag_2.jpg" alt="Thanks for not > leaving!" /></center> > </body> > </html> > > Good end of day , > > Paca > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

