| HILFE!!!!! Nerviges Problem |
nillin
Mausakrobat
Beiträge: 174
|
Hi Leute,
schaut euch mal dies hier an: Ich möchte das die Anzeige von dem x und dem y Koordinaten ganz flach sind - wie die tabellen Zeile! Aber irgendwie bleibt immer noch ne Zeile Luft dazwischen - nerv!!!! Weiß eine Hilfe??? Sind keine <br><p> etc. mehr drin... woran liegt dies?
quellcode:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xy</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript1.2">
<!-- Begin
var IE = document.all?true:false;
if (!IE) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove = getMouseXY;
var tempX = 0;
var tempY = 0;
function getMouseXY(e) {
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.body.scrollLeft;
tempY = event.clientY + document.body.scrollTop;
}
else { // grab the x-y pos.s if browser is NS
tempX = e.pageX;
tempY = e.pageY;
}
if (tempX < 0){tempX = 0;}
if (tempY < 0){tempY = 0;}
document.Show.MouseX.value = tempX;
document.Show.MouseY.value = tempY;
return true;
}
// End -->
</script> </head>
<body>
<table width="200" border="0" cellspacing="1" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC"><form name="Show" method="post" action=""><table width="110" height="0" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15" align="left" valign="middle" class="txtwhite9">X</td>
<td width="35" class="txtwhite9"><input name="MouseX" type="text" style="border:0;width: 35px;FONT-SIZE: 9px;font-family: verdana, helvetica, arial, sans-serif;COLOR: #FFFFFF;BACKGROUND-COLOR: #404010;" value="0" size="4" maxlength="4">
</td>
<td width="20" align="center" valign="middle" class="txtwhite9">Y</td>
<td width="35" class="txtwhite9"><input name="MouseY" type="text" style="border:0;width: 35px;FONT-SIZE: 9px;font-family: verdana, helvetica, arial, sans-serif;COLOR: #FFFFFF;BACKGROUND-COLOR: #404010;" value="0" size="4" maxlength="4">
</td>
</tr>
</table></form></td>
</tr>
<tr>
<td bgcolor="#333333"> </td>
</tr>
</table>
</body>
</html>
|
|  Profil
E-Mail
Website
Editieren
Zitieren
|
nillin
Mausakrobat
Beiträge: 174
|
ich nochmal:
im Netscape (bei mir 7.0) gehts so wie ich will!
siehe auch http://www.nillin.net/xy.htm aber der internet explorer macht nix!?!! ;o(
|
|  Profil
E-Mail
Website
Editieren
Zitieren
|
languitar
Foren-Team
Beiträge: 2795
|
Hm, könnte das daran leigen, dass du im bodytag nichts über marginheight usw. gesagt hast?
---
Take a look here!
Lichtblick - Einblick - Ausblick
|
|  Profil
E-Mail
Website
Editieren
Zitieren
|
nillin
Mausakrobat
Beiträge: 174
|
nein daran liegt es nicht, glaub ich nicht und hab es grad auch getestet!!! Muss doch möglich sein, das dieser form befehl nicht eine art leerzeile einbaut...so kann ich es nämlich nicht verwenden!
??? Noch jemand rat? danke trotzdem...
|
|  Profil
E-Mail
Website
Editieren
Zitieren
|
weisseweste
Fachidiot
Beiträge: 112
|
ooooooooops, das war wohl ein Schmarrrn, sorry!!!!!! vergiss es!
Diese Nachricht wurde geändert von: weisseweste |
|  Profil
Editieren
Zitieren
|
Ratzemampell
Pixelschubser
Beiträge: 19
|
Hi, schau dir das mal an:
<form name="Show" method="post" action="">
<table width="200" border="0" cellspacing="1" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC"><table width="110" height="0" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15" align="left" valign="middle" class="txtwhite9">X</td>
<td width="35" class="txtwhite9"><input name="MouseX" type="text" style="border:0;width: 35px;FONT-SIZE: 9px;font-family: verdana, helvetica, arial, sans-serif;COLOR: #FFFFFF;BACKGROUND-COLOR: #404010;" value="0" size="4" maxlength="4">
</td>
<td width="20" align="center" valign="middle" class="txtwhite9">Y</td>
<td width="35" class="txtwhite9"><input name="MouseY" type="text" style="border:0;width: 35px;FONT-SIZE: 9px;font-family: verdana, helvetica, arial, sans-serif;COLOR: #FFFFFF;BACKGROUND-COLOR: #404010;" value="0" size="4" maxlength="4">
</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#333333"> </td>
</tr>
</table>
</form>
|
|  Profil
E-Mail
Editieren
Zitieren
|
nillin
Mausakrobat
Beiträge: 174
|
danke,
ging zwar erst auch nicht, aber nach einem kleinen stellungskampf des fomr befehls habe ich es nun hinbekommen!!! ist demnächst auf meiner neuen seite zu sehen...
|
|  Profil
E-Mail
Website
Editieren
Zitieren
|