
10-07-2007, 08:05 PM
|
 |
|
|
Join Date: Apr 2007
Location: Degabah Swamp
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Textarea columns
I am adding a textarea on a custom page and I tried using the fetch_text_area_width() function in the functions_editor.php file like so but it never is correct under any browser Im testing with.
Code:
// php file...
require_once(DIR . '/includes/functions_editor.php');
// ...
$textareacols = fetch_textarea_width();
Code:
// template
<textarea class="bginput" rows="4" cols="$textareacols" name="description" /></textarea>
// ..
In IE 7 its not wide enough to match the posticons fieldset and in IE 6 its way too wide. Seems like the function is not working correctly at all.
Arg!
|