Welcome screen

M

mista_fista

Guest
Please could someone tell me how do I add a jpeg to the welcome screen when someone enters my server?
 
destrukt said:
is it just basic html used in the motd ?

Thanks but that doesn't answer my question. If I preview the message of the day its just text. Ive prepared a jpeg image with all the required text and I just want to insert it into the centre box on the motd screen, job done. How is this done, Im sure Ive seen it elsewhere?
 
netrex said:
It's HTML. You add HTML to you motd.txt file and you get the picture in it. Learn HTML: http://www.w3schools.com/html

So why then when I paste this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>HL2MP MOTD</title>
<style type="text/css">
pre {
font-family:Verdana,Tahoma;
color:#FFB000;
}
body {
background:#000000;
margin-left:8px;
margin-top:0px;
}
a {
text-decoration: underline;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
text-decoration: underline;
}
</style>
</head>
<body scroll="no">
<pre>
You are playing Half-Life 2 Deathmatch
Visit the official Half-Life 2 web site @ www.half-life2.com
</pre>
</body>
</html>

The motd.txt file into say word and preview it as a html page doesnt it preview anything apart from the code. Perhaps somebody could point me in the direction of a motd.txt file that I can modify. I have nothing to go at. I can create a page in word just fine then export it to an html page just fine?
 
Probably because it's a .txt file. Save it sa a HTML file first, then rename it to .txt later.
 
netrex said:
Probably because it's a .txt file. Save it sa a HTML file first, then rename it to .txt later.

Yes thanks thats helps.

How do I fill the hole with a Url jpeg etc etc.:dozey:
 
netrex said:
By learning how to do it in HTML.

http://www.w3schools.com/html
Never liked W3schools lol :p

EDIT: Ohnoes I can't find the site that I used to learn HTML D:
It was really great, learned you all of the basics very well. W3Schools is simply too confusing :|
 
Too confusing? I don't see how it can become more straight forward. And it's form the creators of the HTML, CSS and XHTML (pluss more) standards, so it's always up to date, and everything there is correct code ;)
 
netrex said:
Too confusing? I don't see how it can become more straight forward. And it's form the creators of the HTML, CSS and XHTML (pluss more) standards, so it's always up to date, and everything there is correct code ;)
But what I really hate is the W3 checking protocol. I hate it lol :p
 
netrex said:
Checking protocol?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

That
 
I love W3schools, whenever I need to check up on something in HTML or Css I go their. They taught me the fundamentals of PHP, of course everything to do with Databases and SubStrings, etc.. were from random tutorials via google.
 
Beerdude26 said:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

That
Ah yes. Correct code is a bad thing :rolleyes:
 
Back
Top