Menu

#2363 (ok 3.0) css height makes cfg TextareaRows useless

2.9.2
fixed
Interface (555)
1
2013-06-11
2007-02-20
No

in both darkblue_orange and original css-files the textarea height 8em fixes the texareas to this size

the configuration var TextareaRows is therefore useless

best fix woul be to switch to a local style "height:$GLOBALS['cfg']['TextareaRows']" for textarea elements instead of using somewhat deprevated attribs rows and cols which are overruled by css

Discussion

  • nullbarriere

    nullbarriere - 2007-02-20
    • priority: 5 --> 2
     
  • Mario Rohkrämer

    Logged In: YES
    user_id=678046
    Originator: NO

    According to a look into the "grid" style, this height setting might be related to a half-hearted fix for the MSIE 6, where omitting a height seems to be problematic.

    Wouldn't it be possible to use the TextareaRows value in the CSS generator (theme_right.css.php)?

    +----
    textarea {
    overflow: visible;
    height: <?php echo ceil($GLOBALS['cfg']['TextareaRows']*1.2); ?>em;
    }
    +----

    works well in my tests.

     
  • Jürgen Wind

    Jürgen Wind - 2007-04-24

    Logged In: YES
    user_id=1383652
    Originator: NO

    indeed a better solution than mine,
    i'll include it into the next version/bugfix of "grid" ;)
    thx to Mario

     
  • Sebastian Mendel

    • assigned_to: nobody --> cybot_tm
    • summary: css height makes cfg TextareaRows useless --> (ok 3.0) css height makes cfg TextareaRows useless
    • status: open --> open-fixed
     
  • Sebastian Mendel

    • priority: 2 --> 1
     
  • Marc Delisle

    Marc Delisle - 2008-09-27
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB