As someone who works with XML, I just cringe at the thought of extra closing tags. Yes, it might work fine in all the browsers, but every time I looked at the board I'd wonder if there were extra ending tags just lurking under the surface of the pretty formatting.
Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
I didn't say it wasn't a hack.
I think there ought to be some more elegant and less computationally intensive way of doing it than either of the solutions presented so far, and if there turns out not to be, my sense of the rightness of the universe will be thwarted.
And if you're looking for extra tags under the surface, highlight the area right below the navigation links but above the text-entry box -- an elegant hack, indeed.
Well, those aren't tags.
Oddly, Opera 6.04 doesn't have this issue, since it takes the closing of the <p> tag as a block level tag, and closes the inline tags. Just like a </table> will close any open <tr> or <td>.
So can't everyone just upgrade? That's my kinda hack.
But apparently Mozilla does not follow this automatic tag closing. Also, not everyone remembers to /p, Also, John said, if someday a true XML compliant browser comes out , the /p won't work anymore, because XML requires the closing of all tags.
I don't know if this is an obvious question or not, but what does everyone else do (so to speak)? How do they keep their tags in-post?
We remember to close our tags. that is for every t b We make sure that somewhere before the post ends there is a t /b
Oh other boards. Good question. Right. Talk amongst yourselves.
Actually, the code puts in a </p> for every two line breaks. So that's taken care of. No need to remember.
Silly browsers.
I know of one board (Bronze Camp) that does something we've been doing -- closing in a later post.
I just noticed that WX pages have the following comments at the top:
<!-- Page produced by Web Crossing(r)/Unix-4.1 (http://webcrossing.com/worldcrossing) for WorldCrossing-->
<!-- User interface (c)Copyright 1995-2002 by Web Crossing, Inc. All rights reserved.-->
<!-- World Crossing version 9/18/2002 -->
<!-- Logged in as: ita (4156e) 2002-09-23-21.07.20 GMT from xx.xx.xx.xx Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461) -->
<!-- Currently 2002-09-23-21.11.55 GMT 149.yzhmeXakhCs.13 Master Server .ee6b280 access: -->
Interesting.
Snerk. And here I thought I was the one who continually volunteered for insanely huge projects. There's the site design, deciding what content to present and how to present it, chasing down umpteen-bajillion dead links when people move or redesign their site structure...
So long as it's a simple layout, with understood weekly checks for dead links, I can deal.
Moved from the other thread. (thanks, ita)
But, seriously... how do we want to handle this?
What are your opinions on using the links code?