Welcome to Dream.In.Code
Become an Expert!

Join 149,507 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,328 people online right now. Registration is fast and FREE... Join Now!




Forum construction

 
Reply to this topicStart new topic

Forum construction, Can I avoid tables?

eddieboy665
27 Jul, 2007 - 02:31 PM
Post #1

D.I.C Head
**

Joined: 9 Apr, 2007
Posts: 74



Thanked: 1 times
My Contributions
Hi again,

Just about to start constructing a forum which I am sure is going to take a long time! I want something that looks similar to this forum or V Bulletins but am not expecting all the features - but will try my hardest in the time I have. My question though is; can I avoid tables or is it standard to create a table type layout with tables? (sounds like a stupid question and maybe it is!)

I have not been building sites for long and have been taught to avoid tables where possible, hence I have had no practice with them and feel more confident with a few divs. However my guess is using divisions might get a little complicated for a forum and also ensuring it is cross browser compatible.

What does everyone think?

Cheers,
Ed
User is offlineProfile CardPM
+Quote Post

girasquid
RE: Forum Construction
27 Jul, 2007 - 07:33 PM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,294



Thanked: 18 times
Dream Kudos: 725
My Contributions
You can avoid tables, and there's no real 'standard' way to do it. You have to remember that when these forum products originally came out, the standard was table-based design. Chances are most of these forum setups just haven't taken the time to convert their layouts to table-less. Some forums use table-less layouts; try googling 'PunBB'.
User is offlineProfile CardPM
+Quote Post

serializer
RE: Forum Construction
28 Jul, 2007 - 04:36 AM
Post #3

D.I.C Head
**

Joined: 25 Jun, 2007
Posts: 108


My Contributions
Use tables when semantically appropriate.

So, for a grid displaying a list of posts, with headings like "Subject", "Posted By", "Time", for example, a table is not only appropriate but necessary.

Where you shouldn't use tables is in structuring your overall template. Use appropriate structural markup such as <div>s to position header, footer, sidebars, body.

--serializer

User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Forum Construction
29 Jul, 2007 - 08:37 AM
Post #4

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,481



Thanked: 161 times
Dream Kudos: 9050
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
It's actually rather easy to avoid using tables, use CSS to manage your layout. Granted each browser renders items differently but there are CSS "hacks" to overcome these differences. Try Googling "css layouts" and read some of the articles provided.

Also, even when displaying a multiple column layout tables aren't necessary, it can be done with <div>'s and CSS to manage the payout 100%
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 07:13PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month