mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 14:53:15 +09:00
#477 브라우저별로 명시적으로 길이가 정해지지 않은 객체의 길이를 구하지 못하는 관계로 textarea의 가로 길이를 부모 객체의 99%로 조절하여 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4267 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
196367218e
commit
44f7426c55
3 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@charset "utf-8";
|
||||
|
||||
.xeTextareaEditor {width:100%; }
|
||||
.xeTextareaEditor textarea { display:block; margin:10px 10px 0 10px; width:90%;}
|
||||
.xeTextareaEditor {padding:10px; overflow:hidden; }
|
||||
.xeTextareaEditor textarea { display:block; margin:0; padding:2px; }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<!-- 에디터 -->
|
||||
<div class="xeTextareaEditor">
|
||||
<textarea id="editor_{$editor_sequence}" class="inputTypeText" style="height:{$editor_height}px;" cols="40" rows="10"></textarea>
|
||||
<textarea id="editor_{$editor_sequence}" class="inputTypeText" style="height:{$editor_height}px;" cols="10" rows="10"></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ function editorStartTextarea(editor_sequence, content_key, primary_key) {
|
|||
var obj = xGetElementById('editor_'+editor_sequence);
|
||||
obj.form.setAttribute('editor_sequence', editor_sequence);
|
||||
|
||||
xWidth(obj,xWidth(obj.parentNode)-24);
|
||||
obj.style.width = '99%';
|
||||
|
||||
editorRelKeys[editor_sequence] = new Array();
|
||||
editorRelKeys[editor_sequence]["primary"] = obj.form[primary_key];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue