phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[prosilver] Forum and topic listing using tables

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.

[prosilver] Forum and topic listing using tables

Postby onehundredandtwo » Fri Jul 23, 2010 7:11 am

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

Postby onehundredandtwo » Thu Aug 05, 2010 6:03 am

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
onehundredandtwo
Registered User
 
Posts: 33
Joined: Mon Feb 02, 2009 6:55 am

Re: [prosilver] Forum and topic listing using tables

Postby Ger » Thu Aug 05, 2010 9:51 am

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 English isn't my mother tongue. My apologies in advance.
User avatar
Ger
Registered User
 
Posts: 179
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100

Re: [prosilver] Forum and topic listing using tables

Postby callumacrae » Tue Aug 31, 2010 1:28 pm

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

~Callum
"In JavaScript, there is a beautiful, elegant, highly expressive language that is buried under a steaming pile of good intentions and blunders"
—Douglas Crockford

View my MOD, phpBB Mobile
User avatar
callumacrae
Website Team
Website Team
 
Posts: 883
Joined: Tue Apr 27, 2010 9:37 am
Location: England

Re: [prosilver] Forum and topic listing using tables

Postby GravityDK » Tue Aug 31, 2010 10:10 pm

I have no preference.
GravityDK
Registered User
 
Posts: 36
Joined: Sat Aug 28, 2010 10:19 am

Re: [prosilver] Forum and topic listing using tables

Postby onehundredandtwo » Wed Sep 01, 2010 5:05 am

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
onehundredandtwo
Registered User
 
Posts: 33
Joined: Mon Feb 02, 2009 6:55 am

Re: [prosilver] Forum and topic listing using tables

Postby Ger » Thu Sep 02, 2010 1:32 pm

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 English isn't my mother tongue. My apologies in advance.
User avatar
Ger
Registered User
 
Posts: 179
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100

Re: [prosilver] Forum and topic listing using tables

Postby FeyFre » Thu Sep 02, 2010 5:32 pm

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.
User avatar
FeyFre
Registered User
 
Posts: 29
Joined: Wed Mar 17, 2010 9:49 pm

Re: [prosilver] Forum and topic listing using tables

Postby Kynetic » Fri Nov 12, 2010 11:02 pm

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

Re: [prosilver] Forum and topic listing using tables

Postby Kynetic » Sat Nov 13, 2010 8:31 pm

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
Kynetic
Registered User
 
Posts: 3
Joined: Sun Oct 10, 2010 1:12 am
Location: France

Next

Return to [3.0/Olympus] Styling

Who is online

Users browsing this forum: No registered users and 10 guests