SRCDS Steam group


HTML MOTD images help
#1
I have a MOTD file that has 2 images on it. I want to be able to host the images without a webserver. Can i put the images in the same location as the MOTD and then acces them from there? If so how because I have tried some code to no avail.
Here is my current file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to the Server</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow:hidden;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
#content {
position:relative;
z-index:1;
margin:0 auto;
}
</style>
</head>

<body>
<img src="blackboard.png" id="bg" />
<div id="content"><img src="motd.png" /></div>
</body>
</html>

Ben
Reply
#2
you could upload the to youtube or see if there is a way to use images that have a specified local path by using the \ slash instead of /
Experienced SRCDS server host and leader of The World of NOPE [TWoN].

http://steamcommunity.com/id/legendddhgf/
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)