Best way to post DB results to page

Anything questions related to styling should go in here.
Post Reply
User avatar
GenSwat
Posts: 74
Joined: Sat May 07, 2011 3:37 pm

Best way to post DB results to page

Post by GenSwat »

I know alot of people say Div's other say tables.

I am making my tournament match app and I am wondering what is the best way to display my results.

Player1 vs Player2 Score Player_1 10 Score Player_2 6 and this is to be displayed also will list all matches in progress.

I want this to look nice on the page so layout I need some pointers, so when players login they can see a matches page where who they play and have results page where the will post there scores to be submitted and so on

just can't figure out best or most appealing way to go about this
One of my Favorites
Image
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Best way to post DB results to page

Post by jacek »

GenSwat wrote:I know alot of people say Div's other say tables.
Not quite as simple as that.

Using tables to control the layout of the page is wrong, but creating a table with div tags is pointless.

So use divs to position things, and tables for tabular data.If you can give the columns headings, then using a table is fine.

Also, most to CSS / Styling whcih is the correct place to ask about anything todo with layout ;)
Image
Post Reply