You are not logged in.

Kim Jung Un

Intermediate

  • "Kim Jung Un" started this thread

Posts: 175

wcf.user.option.userOption53: Nein

  • Send private message

1

Thursday, May 23rd 2013, 12:36pm

banner einstellung

entweder ist mein bild zu klein oder einstellung falsch
mein bild wird komplett angezeigt nur nicht groß genug,
ich selber arbeit und zock auf einem 40" tv
schaut mal bitte selbst ob das bild groß genug ist das es sauber rein passt
meine server ip
80.86.171.111:27015

hier ist meine motd.txt

Spoiler Spoiler

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<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>
</head>
<meta http-equiv="refresh" content="0; URL=http://my.funpic.de/show-photo/740195-PIC.jpg" alt="bild">
<body scroll="no">
<div align="center">
<pre></pre>
</div>
</body>
</html>

Freddy333

Beginner

Posts: 48

wcf.user.option.userOption53: Ja

  • Send private message

2

Thursday, May 23rd 2013, 3:14pm

Servus,

probiers mal hiermit:

Spoiler Spoiler

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

<body scroll="no">
<center>
<img src="http://my.funpic.de/show-photo/740195-PIC.jpg" alt="bild">
</center>
</body>
</html>


Damit fügst das Bild einfach per <img>-Tag ein. Ich verstehe nicht, warum du per Weiterleitung zum Bild möchtest...

Kim Jung Un

Intermediate

  • "Kim Jung Un" started this thread

Posts: 175

wcf.user.option.userOption53: Nein

  • Send private message

3

Saturday, May 25th 2013, 1:25am

perfekt :)
genau so hab ich mir das vrogestellt, das bild sitzt in der mitte,
göße passt net aber das liegt warscheinlich am bild.

vielen dank :thumbup:

Blacksilver

Intermediate

Posts: 298

Location: 127.0.0.1

Occupation: FISI

wcf.user.option.userOption53: Nein

  • Send private message

4

Saturday, May 25th 2013, 2:26am

Die bildgröße ist mit den Attribute width="Zahl=800 oder 100%" height="Zahl=600 oder 100%" einstellbar.
Come to the dark side,
we have cookies ;)

Freddy333

Beginner

Posts: 48

wcf.user.option.userOption53: Ja

  • Send private message

5

Saturday, May 25th 2013, 1:00pm

Das Bild hat im Originalzustand aber nur 640x340 px, wenn du es z.B nun per <img width="800"> in der Breite vergrößerst, verpixelt das Bild.
An deiner Stelle würde ich das Bild noch einmal mit ausreichendem Breite- und Höhemaß erstellen und dann falls nötig per <img width> verkleinern.

Die Größe des MOTD-Fensters hängt auch von der Bildschirmauflösung des jeweiligen Spielers ab. Damit das Bild bei jedem genau in das MOTD-Fenster passt, muss deine motd.txt so aussehen:

Spoiler Spoiler


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

<body scroll="no">
<center>
<img src="http://my.funpic.de/show-photo/740195-PIC.jpg" alt="bild" width="100%" height="100%">
</center>
</body>
</html>


Aber wie gesagt: Bei den meisten wird es dann stark verpixelt sein.

MfG
Freddy

Pitbull

Trainee

Posts: 125

Location: Oldenburg

wcf.user.option.userOption53: Ja

  • Send private message

6

Saturday, May 25th 2013, 1:51pm

Vergesst bitte nicht das wir bei HTML 5 sind also :

<!DOCTYPE html>

Kim Jung Un

Intermediate

  • "Kim Jung Un" started this thread

Posts: 175

wcf.user.option.userOption53: Nein

  • Send private message

7

Saturday, May 25th 2013, 2:22pm

hallo

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

soll ich
<!DOCTYPE html>

überschreiben? wieso das geht doch alles :P

Pitbull

Trainee

Posts: 125

Location: Oldenburg

wcf.user.option.userOption53: Ja

  • Send private message

8

Saturday, May 25th 2013, 11:56pm

Das mag sein das es geht, nur wer mit der Zeit und der Browser Kompatibilität gehen will sollte dieses machen.

Kim Jong Un

Intermediate

  • "Kim Jong Un" started this thread

Posts: 175

wcf.user.option.userOption53: Nein

  • Send private message

9

Tuesday, May 28th 2013, 8:47am

eine frage noch, welche max. größe darf ein banner bild sein für css?
mfg

Similar threads