Help my MOTD is small

Post Reply
kArp
New to forums
New to forums
Posts: 9
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Sep 08, 2013 10:11 am

Help my MOTD is small

Post by kArp »

Ok so I was recommended to use this code for my motd and paste my website in it but it comes out to small, heres the code
<!DOCTYPE html>
<html>
<body>

<iframe src="http://awolgamingttt.enjin.com/forum/m/ ... town-rules">
<p>Your browser does not support iframes.</p>
</iframe>

</body>
</html>
and a example of what it looks like is here http://www.w3schools.com/tags/tryit.asp ... tml_iframe
Please help!
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Help my MOTD is small

Post by Spray »

If you're going to use an inline frame, give this a try:

Code: Select all

<!DOCTYPE html>
<html>
<body style="margin:0px;padding:0px;overflow:hidden">

<iframe src="http://awolgamingttt.enjin.com/forum/m/16863137/viewthread/8662507-awol-gaming-l-trouble-in-terrorist-town-rules" frameborder="0" style="overflow:hidden; overflow-x:hidden; overflow-y:hidden; height:100%; width:100%; position:absolute; top:0px; left:0px; right:0px; bottom:0px" height="100%" width="100%">
  <p>Your browser does not support iframes.</p>
</iframe>

</body>
</html>
kArp
New to forums
New to forums
Posts: 9
Joined: Sun Sep 08, 2013 10:11 am

Re: Help my MOTD is small

Post by kArp »

What will this do?
kArp
New to forums
New to forums
Posts: 9
Joined: Sun Sep 08, 2013 10:11 am

Re: Help my MOTD is small

Post by kArp »

Thanks it works!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Help my MOTD is small

Post by soja »

You don't need to use an iframe for your MOTD.

Just paste the link in there and the client will load the webpage.

This is an exact copy of what is in our motd.txt for one of our Counter-Strike: Source servers.

Code: Select all

http://gflclan.com/showthread.php?2689
:)
Not a NFO employee
Post Reply