The code tag
I hate this thing! I'm sure its useful in some of the coding areas but when code is forced to be wider than the page width, and the whole thread has this huge horiztonal scroll bar, so you have to scroll back and forth to read any of the other replys, and it's really hard to find the "submit" button on the post reply form, and it's all just annoying.
I wonder if there's anything to do about this... maybe decrease the font size in there? That could help a little bit... Or maybe people could just use an alternative when quoting code in a thread that's mostly paragraphs?
Sigh... or maybe I'll just have to live with it
Suzanne posted this at 19:43 — 6th February 2002.
She has: 5,507 posts
Joined: Feb 2000
If people remember to break their code, it's not so bad.
Problem is I think it uses
.
Suzanne
Busy posted this at 20:15 — 6th February 2002.
He has: 6,151 posts
Joined: May 2001
or you could use NS, the reply buttons are at the left
mjames posted this at 00:13 — 7th February 2002.
They have: 2,064 posts
Joined: Dec 1999
I agree, it's annoying! But this is a standard feature in vB and it rarely causes a problem. I'd leave it.
Chad Simper posted this at 04:14 — 7th February 2002.
He has: 424 posts
Joined: Mar 1999
Actually, a resolution to this problem has been on my to-do list for a couple weeks now when I first noticed it and it annoyed me
What will happen is when a post has the code tag in it, it will be ignored for the standard table tags... Only the post that has the code tag in it will break the page limits... All other posts will look as normal. I've seen this done on a couple forums and I just have to study how they made it happen.
disaster-master posted this at 04:45 — 7th February 2002.
She has: 2,154 posts
Joined: May 2001
I saw Megans post this morning on this so I went back to one that I had posted code on last night and just broke it up a bit so that it would go way out to the right field.
(that is when i discovered that i posted to a thread that was started in 1999....opps)
Anyway, breaking it up will work fine for me. not a problem. Just have to remember to do it.
Gurudev posted this at 21:43 — 8th February 2002.
They have: 61 posts
Joined: Nov 2001
If they are using
Wil posted this at 18:01 — 9th February 2002.
They have: 601 posts
Joined: Nov 2001
Chad
Yes, that is done on a couple of forums. The way to do that is to break each message up into individual tables, instead of multiple TRs of the same table. Easily done, and looks good.
The other, very very ugly way to do it would to have the templates makrup CODE information in < TEXTAREA > fields. Ugh!
- wil
mairving posted this at 19:18 — 9th February 2002.
They have: 2,256 posts
Joined: Feb 2001
The [ php ] tag apparently also causes the same problem so it should be fixed also.
Chad Simper posted this at 06:09 — 12th February 2002.
He has: 424 posts
Joined: Mar 1999
A way long piece of text that is so long that it extends this table but shouldn't extend other posts .... I am just trying to make a really really really really really really really really long sentence and I think I have....
'Chad Simper posted this at 05:40 — 15th February 2002.
He has: 424 posts
Joined: Mar 1999
This annoyance should now be taken care of. And posts with code in them will extend as far as they need to while the rest of the posts will remain within the normal screen parameters. You will have to scroll to see the code if it is longer than the screen allows but at least the whole thread is not screwed up.
Mark Hensler posted this at 07:18 — 15th February 2002.
He has: 4,048 posts
Joined: Aug 2000
Excelent!
(submit reply & etc. buttons are now centered wayy wayy over there now)
Wil posted this at 10:07 — 15th February 2002.
They have: 601 posts
Joined: Nov 2001
Good job, Chad!
Ugh - the submit reply, preview buttons should be left-aligned to make sure they appear the same place. Or create a seperate table for them underneath the message.
- wil
Megan posted this at 14:27 — 15th February 2002.
She has: 11,421 posts
Joined: Jun 1999
Thank you! Much better.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.