www.webdeveloper.com
Results 1 to 5 of 5

Thread: A thought to improve this forum.

  1. #1
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132

    A thought to improve this forum.

    I have no idea what it takes or even if it's possible but...

    I notice when posting code within 'code' tags, the posts frequently require the use of the horizontal scroll and if I omit the 'code' tags, the formatting goes to hell.

    Is it possible to progam in an automatic return (<br>) followed by a colored '+' sign at say char #60 (or whatever) to keep the formatting and eliminate the horizontal scroll (at least for 1024x768 resolution).

    Just a thought!

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Yea thats a good idea. Im sure there is a way they can do that with a string but i dono how much work thatd be with php, but thats a good idea

  3. #3
    Join Date
    Jan 2003
    Location
    Dundee, Scotland
    Posts
    1,367
    hi,
    if an automatic return is inserted after 60 chars that will only cause people to have errors in there code. Most people cut and paste the code from the post into their page, if for example there are extra returns inserted into the code by the forum and the correct syntax requires it to be on the same line then this will cause the code not to work. Sorry guys bad idea
    ----------------------------------

  4. #4
    Join Date
    Jan 2003
    Location
    Jersey Girl
    Posts
    1,198
    Hi Guys....

    A compromise solution would be to keep the integrity of the code intact (no manual breaks or other changes to force a break) but to edit your comments with breaks that will not extend beyond the viewable screen area.

    Usually when code stretches the screen, the text that you also type follows the longer line formatting. If you preview your response before submitting, you can determine where to place manual breaks in your text.

    Just an idea...
    k

  5. #5
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132
    [SWR]Ribeyed..
    I agree with your comments and fully understand the cut and paste issue. However, the added colored + sign should, hopefully, indicate that it needs to be removed after the paste.

    khaki
    I agree with your approach (as is now) to remind people to preview thier posts and edit long lines. Of course that leaves us with the same problem that Ripeyed mentioned. In addition, you may have noticed that the preview window is 'almost' full screen width and the actual post is, I'll guess, 80% of screen width. So if you were to diligently edit your code to fit the preview window, you still end up with the horiz. scroll.

    and khaki, I (really) liked your avatar with the centered black frame best.

    Perhaps the following could be done...
    - Reduce the font size in code tag. (default)
    - Eliminate the indent.
    - Auto wrap the lines. (no cut & paste?? or is there?)

    Bearing in mind that the majority of posts do not create a problem, but when they do, it affects all posts in the thread.

    Update
    Take this post for example...
    http://forums.webdeveloper.com/showt...7221#post27221

    and look who the posters are
    Last edited by Nedals; 03-10-2003 at 05:44 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles