The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1669 - File: showthread.php PHP 8.2.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1669 errorHandler->error_callback
/showthread.php 915 buildtree




New Members Section
#7
JackoliciousLegs Wrote:
mongooze Wrote:Formatting of the member pages is a bit strange in Safari (long mod lines don't wrap, thus widening the whole layout), but it looked fine in Firefox. Other than that - no issues so far.
Right now I'm using pre tags to deal with database output so I don't have to put in br tags at the end of every line. There's got to be a better way and I'm looking into it.

Why are you bothering with pre at all? Run the db output through htmlspecialchars() and be done with it - let the wrapping happen naturally within the td tags... or use the white-space property applied to your 'thetext' css class, lots of options there.

I'm curious as to why you're doing things the way you are simply because I'm having to get back into the layout and design game after a few years - most of my experience is backend data manipulation and then a lot of random low-level stuff that has nothing to do with web apps :roll:
  Reply


Messages In This Thread

Forum Jump: