[prosilver] Forum and topic listing using tables

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
User avatar
onehundredandtwo
Registered User
Posts: 33
Joined: Mon Feb 02, 2009 6:55 am

[prosilver] Forum and topic listing using tables

Post by onehundredandtwo »

I've been thinking for a while about the forum and topic listing in phpBB and the reasoning behind using <div>s instead of a table. Although I'm sure when prosilver was created the aim was to have a "tableless layout", it seems appropiate to have the forum and topic listings in a table rather than using lists.

For reference:
Tables in HTML documents wrote:The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells.
The forum listing, for example, is more than a list of forums, but with respective posts, topics and other info. Is there any reasoning why prosilver currently uses divs?

Maybe I'm wrong, just a thought.
Need help preventing spam? Read Preventing spam in phpBB 3.0.6 and above

User avatar
onehundredandtwo
Registered User
Posts: 33
Joined: Mon Feb 02, 2009 6:55 am

Re: [prosilver] Forum and topic listing using tables

Post by onehundredandtwo »

Anyone? Would this be more appropiate in 3.1 or 3.2 discussion?
Need help preventing spam? Read Preventing spam in phpBB 3.0.6 and above

User avatar
Ger
Registered User
Posts: 293
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100
Contact:

Re: [prosilver] Forum and topic listing using tables

Post by Ger »

From a semantic point of view a table isn't a weird choice for this. However, from a styling point of view it's much easyer not to use tables for general layout since it's not very flexible. Therefore I prefer using divisions with lists.
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.

User avatar
callumacrae
Former Team Member
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: [prosilver] Forum and topic listing using tables

Post by callumacrae »

I vote keep lists. I do not like coding with tables at all.

~Callum
Made by developers, for developers!
My blog

GravityDK
Registered User
Posts: 36
Joined: Sat Aug 28, 2010 10:19 am

Re: [prosilver] Forum and topic listing using tables

Post by GravityDK »

I have no preference.

User avatar
onehundredandtwo
Registered User
Posts: 33
Joined: Mon Feb 02, 2009 6:55 am

Re: [prosilver] Forum and topic listing using tables

Post by onehundredandtwo »

Ger wrote:From a semantic point of view a table isn't a weird choice for this. However, from a styling point of view it's much easyer not to use tables for general layout since it's not very flexible. Therefore I prefer using divisions with lists.
You can use display: in CSS on tables to, well, make it not a table.

Sort of doesn't make any sense, because the reason why tables are still so popular is because of 1. compatibility, and 2. <div>s are too hard to use.
And when there is a legitimate reason to use them, it's the opposite? :o ;)
Need help preventing spam? Read Preventing spam in phpBB 3.0.6 and above

User avatar
Ger
Registered User
Posts: 293
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100
Contact:

Re: [prosilver] Forum and topic listing using tables

Post by Ger »

onehundredandtwo wrote:You can use display: in CSS on tables to, well, make it not a table.
So you propose to use HTML table and counter-act this with CSS? Doesn't seem logic to me. Or do I misunderstand you here?
onehundredandtwo wrote:Sort of doesn't make any sense, because the reason why tables are still so popular is because of 1. compatibility, and 2. <div>s are too hard to use.
Why are div's hard? You simply have a division wich contains a list of forums/topics. I've never understood why people tr to put everything in a table. Yes, it has it's use sometimes, but generally it is not logic.
I don't get the argument of compatibillity either. Compatible with what?
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.

FeyFre
Registered User
Posts: 29
Joined: Wed Mar 17, 2010 9:49 pm

Re: [prosilver] Forum and topic listing using tables

Post by FeyFre »

onehundredandtwo, if you want tables as data container use subsilver2. But since phpbb team officially abandoned development of ss2, we probably should forget about tables at all.

Kynetic
Registered User
Posts: 3
Joined: Sun Oct 10, 2010 1:12 am
Location: France
Contact:

Re: [prosilver] Forum and topic listing using tables

Post by Kynetic »

Be patient.... i'm making a style based on prosilver to simulate subsilver2 without table......

http://www.phpbb.com/community/viewtopi ... &t=2109934
Fall in love with.... photoshop.... Exclusive styles based on prosilver

Kynetic
Registered User
Posts: 3
Joined: Sun Oct 10, 2010 1:12 am
Location: France
Contact:

Re: [prosilver] Forum and topic listing using tables

Post by Kynetic »

Tested on IE8, Firefox, Opera and Chrome .

Works and validated W3C !

Now i'm going to translate Imageset in many languages ;)

Style submitted on phpbb.com !
- png fixed under IE 7-
- Size and bugs fixed under all browsers (IE8, Chrome, FF & Opera)
- Add possibility "FontSize" as prosilver but under Subsilver2
- Extensible and fluide style
- Profil to left side as Subsilver2
Fall in love with.... photoshop.... Exclusive styles based on prosilver

Post Reply