Find the answer to your Linux question:
Results 1 to 6 of 6
Posting codes, field is very small (displaying less than 3lines). Is there a way to enlarge it? Thanks,...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! legendbb's Avatar
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    27

    Red face Code field is very small


    Posting codes, field is very small (displaying less than 3lines).

    Is there a way to enlarge it?

    Thanks,

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello

    Your code taken from your other thread seems to be working fine when I post it.

    Code for "testing only" follows:

    Code:
    for (;;){
    
    x=getchar();
    if(x=='q') {
    printf("exit");
    exit(0);
    }
    else
    printf("Press a key");
    }
    I'm not at all sure what might have happened when you posted it.


    Edit: well it did preview fine, but then it turned out just like yours when it was actually posted. I'll do some testing with it to see what might be happening.

    Thanks for the feedback.
    oz

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Okay, removing the INDENT tags allows it to post correctly. Not sure just yet why those tags are causing the earlier behavior. Code for "testing only" follows:

    Code:
    for (;;){
    x=getchar();
    if(x=='q') {
    printf("exit");
    exit(0);
    }
    printf("Press a key");
    }
    oz

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,475
    The problem is the line of html that reads

    <pre style="height:36px;" class="bbcode_code">

    It doesn't need the style attribute or the height value needs to increase a bit if you want to limit the height of the box

    [edit]144px looks good[/edit]
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  5. #5
    Just Joined! legendbb's Avatar
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    27
    Quote Originally Posted by elija View Post
    The problem is the line of html that reads

    <pre style="height:36px;" class="bbcode_code">

    It doesn't need the style attribute or the height value needs to increase a bit if you want to limit the height of the box

    [edit]144px looks good[/edit]
    Didn't find how to change this. Removed [INDENT] for now.

    Thanks,

  6. #6
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,475
    Sorry, that was aimed at the devs. To apply in Firefox install the stylish extension and add the following style to it

    Code:
    @namespace url(http://www.w3.org/1999/xhtml);
    
    @-moz-document domain("linuxforums.org") {
        .bbcode_code { height: 144px !important; }
    }
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •