L4D dedicated server banner not working

So I turned an old computer in to a ded. server for l4d so my friends and I wouldn't have to deal with crappy ones anymore. The server part works fine, it's just the banner that doesn't work, I get this:

l4dhtml.jpg


The banner should be in the top right corner where you can see html.

This is the code I'm using:
Code:
<html>
<head>
<style type="text/css">
html, body { background: black; margin:0px; padding:0px; border-style:none}
</style>
</head>

<body scroll=no>
<center><img src="C:\HLServer\Banner.png" /></center>
</body>
</html>

I copied it directly from here:
http://forums.steampowered.com/forums/showthread.php?t=745441

I've tried different images, and hosting the image online, nothing works. It could be the code, I don't know any html.

Thanks guys! :D
 
Hello,

Did you place the link in yuor host file?
To set up a L4D banner on your server please do the following.

1- In the host.txt file on your game server you would place the "LINK" to the web site that contains the html file ( banner ) for your L4D server.

Example

http://www.yoursiteurl/l4dbanner.html


2- In the l4dbanner.html file you would place the following code

<html>
<head><title>Clanwarz Left 4 Dead</title></head>
<body style="margin:0px;padding:1px;background:#000000;">
<img src="http://www.yoursiteurl/l4dbanner.jpg" style="width:100%;height:100%;" />
</body>
</html>


If you follow the above instructions you will have a perfectly working server banner for Left 4 Dead.


Notes:

1- http://www.yoursiteurl/l4dbanner.html is the "URL" link to your banner.html file

2- http://www.yoursiteurl/l4dbanner.jpg is the "URL" link to your banner.jpg file

3- The banner picture must be in "JPG" format

4- Banner size is 673 (width) x 135 (height)

5- The host.txt file must only contain the "url" link in it, please see step 1 above.

6- Do not place any html code in the host.txt file. If you do you will break the banner function.
 
Awesome, thank you so much!
I was putting the code in the host.txt file
Also, it doesn't need to be .jpg mine is .png and it works just fine ;)
Thanks again!
 
Back
Top