Autor Beitrag
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 07.07.05 14:38 
In einer Seite mit mehreren Frames möchte ich, dass eine Textarea immer einen Frame vollständig ausfüllt, das nheißt, es soll kein (oder kaum) Rand entstehen und es soll nichts abgeschnitten werden. Bitte helft mir.

P.S. <textarea width="100%" height="100%"></textarea> funktioniert nicht

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
hallo
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 450

WIN XP, SuSE 9.3
D3 Prof, D6 Pers, 2005 Pers
BeitragVerfasst: Do 07.07.05 14:58 
Also: Textarea arbeitet mit cols und rows!
Du könntest es aber mal über CSS versuchen:

ausblenden Quelltext
1:
<textarea style="width:100%;height100%">					


Zur Not musst du die Bildschirmauflösung ermitteln, und dann die cols und rows über PHP schreiben.

Nur mal so ein Tipp: Nimm keine Frames her! Die sind sehr unbeliebt:

:puke: Frames

_________________
Der beste je Programmierte Trojaner: Windows XP
Wäre es nicht adequat, den Usus heterogener Termini zu minimieren?
jakobwenzel Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 07.07.05 18:30 
Geht!! :D :D Fast... :cry: Der IE nimmt nur die Breite, nicht die Höhe. Mein Code sieht jetzt so aus:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<style type="text/css">
textarea {
  height: 98%;
  width: 100%;
}
</style>
<TITLE></TITLE>
</HEAD>

<BODY>
<form>
<textarea></textarea>
</BODY>
</HTML>


Das Css steht da oben, weil es der Firefox sonst nicht machen wollte. Bei Höhe sind es nur 98%, sa Firefox sonst trotzdem noch Scrollbalken anzeigt. Wieso macht der IE das nicht richtig??

Wenn es nicht klappt ist es auch egal, ist für den Admin-Bereich meiner Homepage und ich benutze Firefox. Bitte helft mir aber trotzdem!!!!!!

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
zemy
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 207

Win XP Prof.
D7
BeitragVerfasst: Fr 08.07.05 08:45 
msdn.microsoft.com/w...perties/height_1.asp
msdn.microsoft.com/w...objects/textarea.asp

Müsste eigentlich gehen. Haste schon mal probiert, die größe absolut anzugeben oder haste es auch über JScript probiert?

_________________
LifeIsToShortToThinkAboutTheShortness
hallo
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 450

WIN XP, SuSE 9.3
D3 Prof, D6 Pers, 2005 Pers
BeitragVerfasst: Fr 08.07.05 12:53 
Absolut angeben ist nicht gut: Es gibt verschiedene Auflösungen!

_________________
Der beste je Programmierte Trojaner: Windows XP
Wäre es nicht adequat, den Usus heterogener Termini zu minimieren?
ManuelGS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 173

Win XP HE, Suse Linux
D6, D7, D2005 Personal
BeitragVerfasst: Fr 08.07.05 13:13 
Wie wärs mit einer Tabelle?

ausblenden Quelltext
1:
2:
3:
4:
5:
<table width=100% height=100%>
  <td width=100% height=100%>
    <textarea style="width:100%; height:100%">a</textarea>
  </td>
</table>

_________________
"Leben ist gänzlich Bühne und Spiel; so lerne denn spielen
und entsage dem Ernst - oder erdulde das Leid." - Palladas von Alexandria
jakobwenzel Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Fr 08.07.05 14:18 
Mit Tabellen ignorieren alle Browser die Höhe :( :( Vielleicht liegt es auch nur an meinem Browser?

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.