SRCDS Steam group


css motd won't show and i want to scroll
#1
i want to make it scroll up and down and left to right and i want on my background black and the front is white when u try to help me plz i need a fix copy of my motd this is my motd

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
pre {
font-family:Verdana,Tahoma;
color:#000000;
}
body {
background:330000;
margin-left:8px;
margin-top:0px;
overflow: scroll;
}
a {
text-decoration: underline;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
a:hover {
color: #330000;

text-decoration: underline;
}
</style>
</head>
<body scroll="yes">
<pre>
You are playing -={TGA}=-[RPG][Jailbreak]&[surf]Server Counter-Strike: Source
Visit the official CS web site @
http://www.freewebs.com/darkmystic12/index.htm
Server Rules
>>>>>>>TGA RULES OF THE SERVER<<<<<<<
No Vent/Armory Camping! Or Slay
Respect Everyone in server and Mic Spam= Mute
Cells must be open by 7:30 or slay! DOOR MUST STAY OPEN!
hosties_rule T's are alot to kill cts if the cts r in the cage
hosties_rule CTs can only kill rebelling Ts, or Druing Evil Simin says, If Last ect...
hosties_rule CTs must give Ts a warning before killing
hosties_rule CTs can't give Ts guns and then kill them
hosties_rule Ts can kill CTs for jumping on their heads
hosties_rule When there's only 2 Ts left, Ts can have a LR
hosties_rule Ts can type !lr to get their last request
hosties_rule CTs cannot hurt Ts without warning
hosties_rule CTs can't ask Ts to do something that will kill them
*if any Hostie_rules are broke it is Slay/wanring , KICK,PERM BAN*

basic admin=2.50 a month
full admin=6.00 a month

Email To buy admin is
Dark_mystic_123@hotmail.com On Paypal I am not responsible for anyone
<a href="http://www.freewebs.com/darkmystic12/index.htm">Visit http://www.freewebs.com/darkmystic12/ind...</a>;
</pre>
</body>
</html>
Reply
#2
I don't know if you still need help with this but to get it to work just remove the following from the motd.txt file.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

and


<body scroll="no">


That's it, remove those lines and it will work.
Reply
#3
Try this...I used to use this on my server but I use html to show a motd. This one allows you to scroll up and down but there's a maximum on how much text you can put cuz if over the max....you can't scroll down to the end where it's missing or it won't show I mean. I currently when I help run a server...set up motd by making one on adobephoto, paint, etc...and host image on a website and use a coded motd to show it.

Code:
<title>Cstrike 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>

<html>
<head>
<script type="text/javascript">
function scrollWindow()
{
window.scrollBy(100,500);
}
</script>
</head>
<body>
<pre>

ALL TEXT AND IMAGES GO HERE.

</pre>
</body>
</html>

This is what I use for hosted motd images on the internet.

Code:
<!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 SpecialAttack</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="http://www.website.com/motd.jpg"/>
    </body>
</html>
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)