(06-03-2024, 06:51 PM)SMcNeill Wrote: @madscjr No diatrabe, nor any attack/rant against you in particular, nor was I getting defensive. Honestly, I was just trying to answer the question:
Quote:I tried fixing the table code using trial & error, and hit upon adding the "=95" and putting a space after the [ tr ] tags, and it seems to be working now.
Does anyone have any idea why?
Sometimes, Steve has a tendecy to OVEREXPLAIN things, as he tends to have the heart of a teacher (Proabably one of those old, crotchery, white-haired teachers who should've retired 20 years ago!) -- thus the posts for the Keywords of the Day, and the tutorials, and lessons and everything else.
The problem with answering a question like "Why?", is knowing how much detail the user wants, and how far down the rabbit hole of knowledge you need to back up so they'll understand. In this case, I was basically just explaining what MyCode is, why we'd want it instead of raw HTML, and then how it basically works -- as that's all essential for understanding *WHY* the misformatted table blows up the forums.
Sounds like you weren't really looking for "Why does the forum posts melt down and move my EDIT buttons and screw up formatting and everything else...", but instead you just wanted to know "Why did this mess up?"
And the answer there is the much simpler, as you suggested yourself, "You just didn't follow the proper syntax with "=width" after the word "table".
No worries! A lot of people don't know why we don't want to let users use raw HTML for formatting editable online-based text for user-generated content in forums, wikis and content mgmt systems (CMS), and it does require explaining.
But yes, in this case I just wanted to know why things got messed up, since I was trying to help our friend kernelpanic, and went and hosed the whole page with my own example code! It started to feel like "the blind leading the blind", LoL!