Raised This Month: $51 Target: $400
 12% 

Solved motd (html)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
luciaus18
Senior Member
Join Date: Dec 2014
Old 12-16-2020 , 18:05   motd (html)
Reply With Quote #1

Hello! I did this for my server but idk how to fix that problem: the image is not full size on the window. I want it to be full size, fixed for any resolution.

I'm not good at coding

Code:
<html>
<head>
<style type="text/css">
body {
background-image:url(https://i.postimg.cc/JhvWJVtC/snow.jpg);
background-position:right bottom;
width:100%;
height:100%;
}
</style>
	<meta http-equiv="Content-Type" content="text/html; charset=windows-1257">
</head>
<div align="center">
<font size="5" color="#FFFFFF"><b><center>What u get when u are VIP?</center></b></font><br />
<font size="3" color="#1F456E">
<br>
1. You get Free nades each round. (HE,2FB,SG)
<br>
<br>
2. You get Free Armor+Helm.
<br>
<br>
3. You Get 500$ per kill and per HS 800$.
<br>
<br>
4. You Get 15HP per kill and per HS 30HP.
<br>
<br>
5. You See bullet damage at real time.
<br>
<br>
6. Only VIP can buy Sniper's. (Like AWP).
<br>
<br>
7. Write /vips u will see VIP's online..
<br>
<br>
8. U will can use Admin Chat.
<br>
<br>
9. Slot reservation.
<br>
<br>
10. Only VIP's from 3round will see free gun menu
<br>
<br>
<font size="5" color="#FFFFFF">
How to get VIP:
<br>
<br>
<font size="3" color="#1F456E">
You have to reach level 20 </font><br />
<br>
<font size="5" color="#FFFFFF"><b><center>Forum:</center></b></font><br />
<font size="4" color="#1F456E">
bla bla bla
</div>
</body>
</html>
I got this thing from a forum but I still can't get it perfectly, the image it's repeating. And if I put: background-repeat:repeat-x; (it makes a blank space on the top)
Code:
body {
background-position:right bottom;
width:100%;
height:100%;
}

Last edited by luciaus18; 12-20-2020 at 15:00.
luciaus18 is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 12-19-2020 , 11:50   Re: motd (html)
Reply With Quote #2

Sometime it work for me, sometime it don't. I have ho idea.
By the way, i love the background.
Attached Files
File Type: txt mymotd.txt (1.5 KB, 86 views)
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
luciaus18
Senior Member
Join Date: Dec 2014
Old 12-19-2020 , 17:49   Re: motd (html)
Reply With Quote #3

I've searched alot for it xD

Thx mate! It works with scroll down, but it works!

Can you do something for top15 too?

Code:
iLen = format(sBuffer, MAX_BUFFER_LENGTH, "<body bgcolor=#222021><body background=https://i.postimg.cc/JhvWJVtC/snow.jpg bgProperties=fixed><font color=#FFFFFF><pre>")

Last edited by luciaus18; 12-19-2020 at 18:19.
luciaus18 is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 12-20-2020 , 07:39   Re: motd (html)
Reply With Quote #4

There is nothing i can do if you do not disclose your full javascript code. Plus i never personally try if the motd actually run it at all. If you find example somewhere that mean the motd may support it. Try they tutorial first, chances are the code just grab, plug and play.

Also do not open multiple thread if you can just compose your question in a single thread. Give it a long thought then throw the questions in one go.

On a side note, this most likely going off topic too. So.. try to do a research first then ask moderator to move your thread to the appropriate place

Edit: you know what.. i lied.. i m lazy testing that. So please help yourself first then pursuit your question.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 12-20-2020 at 07:44.
GsiX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode