Raised This Month: $ Target: $400
 0% 

CS MOTD HTML question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-18-2009 , 20:55   Re: CS MOTD HTML question
Reply With Quote #1

it doesnt actulyl use html its more of a css then anything. there is no <html> <htm> tags...

i think its jsut css.. cuz if you look at my motd's in a web browser its text not like in game.
Doc-Holiday is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 01-18-2009 , 20:55   Re: CS MOTD HTML question
Reply With Quote #2

Quote:
Originally Posted by NcB_Sav View Post
it doesnt actulyl use html its more of a css then anything. there is no <html> <htm> tags...

i think its jsut css.. cuz if you look at my motd's in a web browser its text not like in game.
Absolutely wrong.

CSS just embeds an IE control. It is dependent on the IE version of the user.
__________________

Community / No support through PM

Last edited by danielkza; 01-18-2009 at 21:00. Reason: typo
danielkza is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-18-2009 , 22:21   Re: CS MOTD HTML question
Reply With Quote #3

Quote:
Originally Posted by danielkza View Post
Absolutely wrong.

CSS just embeds an IE control. It is dependent on the IE version of the user.

lol yup guess i was.. my motd does usethe html tags... but my old one dosent just txt file runs fine. exp with just plain css.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html40...1224/loose.dtd">
<html>
<head>
<title>NorCalBots 11 [UnDead]</title>
<style type="text/css">
pre {
 font-family:Verdana,Tahoma;
 color:#fff;
}
body {
 background:#000;
 margin-left:8px;
 margin-top:0px;
}
a,
a:link,
a:visited,
a:hover,
a:active {
 text-decoration:underline;
 color:#fff;
}
.style1 {
 text-align:center;
}
.style3 {
 color:#FFB000;
 text-decoration:underline;
 font-size:small;
}
.style4 {
 font-size:large;
}
.style5 {
 font-size:small;
}
.style7 {
 font-size: x-large;
}
</style>
</head>
<body scroll="no">
<div class="style1">
<pre>
<img src="http://video.astahoster.net/branding.png" height="90" width="414" />
<strong>
<span class="style7">NorCalBots 11 [UnDead]</span><br>
<span class="style4">Can you stop the infection?</span><br>
<span class="style5">Please be sure to respect our rules and admin at all times
To view our server rules, type <span class="style3">rules</span> in game chat</span><br>
<span class="style4">Visit us at <a href="http://www.norcalbots.com/" target="_blank">www.norcalbots.com</a></span>
</strong>
</pre>
</div>
</body>
</html>
Doc-Holiday is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 01-19-2009 , 12:47   Re: CS MOTD HTML question
Reply With Quote #4

Quote:
Originally Posted by NcB_Sav View Post
lol yup guess i was.. my motd does usethe html tags... but my old one dosent just txt file runs fine. exp with just plain css.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html40...1224/loose.dtd">
<html>
<head>
<title>NorCalBots 11 [UnDead]</title>
<style type="text/css">
pre {
 font-family:Verdana,Tahoma;
 color:#fff;
}
body {
 background:#000;
 margin-left:8px;
 margin-top:0px;
}
a,
a:link,
a:visited,
a:hover,
a:active {
 text-decoration:underline;
 color:#fff;
}
.style1 {
 text-align:center;
}
.style3 {
 color:#FFB000;
 text-decoration:underline;
 font-size:small;
}
.style4 {
 font-size:large;
}
.style5 {
 font-size:small;
}
.style7 {
 font-size: x-large;
}
</style>
</head>
<body scroll="no">
<div class="style1">
<pre>
<img src="http://video.astahoster.net/branding.png" height="90" width="414" />
<strong>
<span class="style7">NorCalBots 11 [UnDead]</span><br>
<span class="style4">Can you stop the infection?</span><br>
<span class="style5">Please be sure to respect our rules and admin at all times
To view our server rules, type <span class="style3">rules</span> in game chat</span><br>
<span class="style4">Visit us at <a href="http://www.norcalbots.com/" target="_blank">www.norcalbots.com</a></span>
</strong>
</pre>
</div>
</body>
</html>
Any text outside the HTML tags (or inside the body tag, but not wrapped in any other tags) is interpreted as plain text.
__________________

Community / No support through PM
danielkza 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 01:42.


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