online 1
gast (50)

/ Forum / Skripte(PHP,ASP,Perl...)

Skripte(PHP,ASP,Perl...)Skripte(PHP,ASP,Perl...)

Fragevon html.php.problem vom 03.01.2020, 20:19 Options

Problem im HTML/PHP script

Hallo, ich habe ein Problem in dem Folgendem Script , die Seite wird nicht bei allen Leuten richtig angezeigt also z.b. bei leuten mit einer kleineren Bildschrimauflösung , die müssne scrollen und bei Leuten mit einem Großem Bildschrim vergrößert sich die Seite nicht , also bleibt bei einer Größe , woran kann das liegen ?
Hoffe auf sehr schnelle Antwort , ist sehr wichtig

MFG Manuel

<?php
require ('../_config.inc.php');

if ($_REQUEST['bake'] == '1') {
setcookie ('jatsche_user', $_REQUEST['name'], time () + 86400 * 90, '/');
setcookie ('jatsche_pass', $_REQUEST['pwd'], time () + 86400 * 90, '/');
} else {
setcookie ('jatsche_user', '', time (), '/');
setcookie ('jatsche_pass', '', time (), '/');
}

$cid = md5 (rand (1, 9999999));
$iid = sha1 (rand (1, 9999999));
echo '<?xml version="1.0" encoding="ISO-8859-1"?>' . "\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.lol {
color:#FFFFFF;
}
</style>

<script type="text/javascript" src="./js/top.js"></script>
<title><?= $cfg['chat_name'] ?></title>

</head>
<body style="background-color:#DDDDDD; margin-top:0px; margin-bottom:0px;">
<center>
<table width="50%" height="100%" style="width:50%; height:100%; background-color:#232323;">
<tr>
<td>
<img style="float:left;" src="img.png" width="233" height="154" border="0" usemap="#map" />
<map name="map">
<area shape="poly" coords="62,149,61,137,64,137,67,141,72,139,77,140,79,135,84,139,89,135,89,149,91,151,67,151" alt="Profil" target="_blank" href="http://poke-on.de/hanzi/ucp/" />
<area shape="poly" coords="13,150,47,149,47,140,44,138,36,134,38,141,29,139,20,139,8,132,13,141" href="#" onclick="helpwindow();" />
<area shape="rect" coords="102,136,133,149" target="_blank" alt="Regeln" href="http://poke-on.de/index.php?content=regeln" />
<area shape="rect" coords="149,136,190,149" target="_blank" href="http://poke-on.de/index.php?content=preise" />
<area shape="rect" coords="205,137,222,148" target="_blank" href="http://poke-on.de/index.php?content=faq" />
</map>
<table width="604" height="147" background="otbl.png">
<tr>
<td>
<br />
<iframe style="height:70%; width:590px; border-width:0px;" src="./side.php?name=<?= $_REQUEST['name'] ?>&id=<?= $iid ?>" scrolling="no" noresize="noresize" frameborder="0" name="menuframe"></iframe>
</td>
</tr>
</table><br /><br />
<iframe style="height:460px; width:850px;" src="http://<?= $cfg['server_host'] ?>:<?= $cfg['server_port'] ?>/LOGIN?name=<?= $_REQUEST['name'] ?>&pwd=<?= $_REQUEST['pwd'] ?>&id=<?= $cid ?>&inputid=<?= $iid ?>" frameborder="0" scrolling="auto" noresize="noresize" framespacing="0" name="readframe"></iframe><br />
<iframe style="height:30px; width:850px;" src="./send.php?name=<?= $_REQUEST['name'] ?>&id=<?= $iid ?>" frameborder="0" scrolling="no" noresize="noresize" framespacing="0" name="sendframe"></iframe>
</center>
</div>
</body>
</html>


Antwort schreiben

Antwort 21 von katy vom 21.01.2020, 10:58 Options

Hallo html.php.problem,

Höhenangaben in Prozent beziehen sich immer auf das umgebende Element. Wenn dies keine Höhenangabe hat laufen die % ins Leere und werden daher ignoriert vom Browser. Stelle also sicher, dass alle Elemente um den IFrame (html, body, ... ) eine Höhenangabe im CSS haben (im Zweifelsfall 100%). Versuch bei der Gelegenheit Elemente, die eine CSS-Entsprechung haben (center) zu ersetzen, um Layout-Störungen dadurch zu vermeiden.

katy

Ähnliche Themen

php script
Dennis1306  18.04.2007 - 157 Hits - 2 Antworten

HTML-Quellcode mit PHP eibinden
xeo15  23.05.2007 - 163 Hits - 3 Antworten

AOL Browser Probleme mit Java Script
igo  19.06.2007 - 94 Hits - 3 Antworten

PHP ID
anot.www  06.09.2007 - 40 Hits - 1 Antwort

Zusammenhengender php script in guten, funktionierenden php script
derfehler  15.09.2007 - 58 Hits - 2 Antworten

Hinweis

Diese Frage ist schon etwas älter, Sie können daher nicht mehr auf sie antworten. Sollte Ihre Frage noch nicht gelöst sein, stellen Sie einfach eine neue Frage im Forum..

Neue Einträge

Version: supportware 1.9.150 / 10.06.2022, Startzeit:Thu Jan 8 21:07:44 2026