Re: PunBB without <table>'s
You've now been working on the topic view. Will it not be an enormous job to also do all the other pages? I mean, with this kind of design, the actual HTML only describes what content is to be displayed and hardly anything about how it will be displayed. There are a large variety of pages in PunBB (not to mention the admin interface).
Well, in nearly every other page, you've a rough idea what you're working with, but the posts in viewtopic are completely up to the user, so you need to put in extra safeguards in the CSS and keep it flexible and dynamic. With post, viewforum, profile, search, userlist, and even the admin panel, you don't have to worry as much about keeping it dynamic ? the size of the Message-entry field, for example, won't change. Even modifying the viewtopic CSS to add multiple-post delete is easy to add, once the initial viewtopic layout is finished.
So this is the hard part, the hardest to get perfect and the rest of the CSS will be much easier ;) It's especially difficult because I've never tried to emulate a table-based layout precisely ... damn those borders, padding and strange IE bugs! All the small tweaks add up... I'll probably have to go though the CSS and clean out any unnecessary style rules.
I'm leaning towards using the box model hack and fixing the CSS for IE5 and 5.5, because everything's perfect for IE, except there's padding in the posts and I can't duplicate the padding with margins because of the border on the left. When I just put the border on the punauthorinfo dl, it doesn't reach down far enough, since it will stop when the contents in the div stops, so I must use both the post div and the authorinfo dl for the border, just in case the post is shorter than the authorinfo div, and have them overlap, but yet again ?
Excuse me. I was just rambling on ... It's getting late. I'll look at it tomorrow, maybe I'll get a new, fresh perspective on it.
The only other solution I can think of is to use a pixel-thin background with the border on it, repeating down the post. Hmm, that might just work ... and solve the IE5+5.5 display issue. I'll try it tomorrow. It also gives me an idea of how we could do the borders for the rest of the site quickly and easily ... just do it the same way.
BTW: The background images I'm talking about using are just small, 200 px wide by 1 px tall images with transparent backgrounds, similar to those old "spacer-gifs" everyone used to use ... however, and this is a rather big however, you would need to edit the image to change the color of the border when creating a new style sheet.
So, it's either Use box model hack to give IE5 and 5.5 different values for width, or use a background image which might or might not make it harder for people to customize the forums ... if they really wanted to customize the forums, they'd use their own background image, possibly, but ? hrmm. I haven't given up, I've just found thousands of ways that don't work ...
Good Night,
CSpotkill / Louis St-Amour.