[self-split] tables vs. divs |
Author: |
Message: |
ShawnZ
Veteran Member
Posts: 3146 Reputation: 43
32 / /
Joined: Jan 2003
|
RE: [self-split] tables vs. divs
padding: 5px tbh
Spoiler: the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
|
|
07-10-2005 07:08 PM |
|
|
surfichris
Former Admin
Posts: 2365 Reputation: 81
Joined: Mar 2002
|
RE: [self-split] tables vs. divs
quote: Originally posted by Lee Jeffery
top would be easy, problem at the side lies with making certain divs have the same height
Who says you have to do that?
Put each post inside another div, specify the border and background colour there, and use one of your other div's (for the author or message column) to create a border down the middle.
|
|
07-10-2005 10:27 PM |
|
|
mathieumg
Full Member
Posts: 181 Reputation: 2
35 / /
Joined: May 2004
|
RE: RE: [self-split] tables vs. divs
quote: Originally posted by -dt-
tables can be fine if not overused (I count over used as this forum lol)
eg theres 32 uses of <table> in this forum!
tables are fine for data , eg topics and posts etc
but they arnt fine for use in positioning your headings , they work but are blah.
hell I would love to see a forum not over use tables and use a nice amount of divs + tables.
so don't everyone go "oh divs should be used in everything"
sure they can be used in a forum but it would require alot of work to do so and wouldnt feel or look as good.
remember kids tables are for data
divs are for everything else
This is my exact point of view! Don't even have to add anything
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator
|
|
07-10-2005 11:13 PM |
|
|
ShawnZ
Veteran Member
Posts: 3146 Reputation: 43
32 / /
Joined: Jan 2003
|
RE: [self-split] tables vs. divs
quote: Originally posted by Chris Boulton
quote: Originally posted by Lee Jeffery
top would be easy, problem at the side lies with making certain divs have the same height
Who says you have to do that?
Put each post inside another div, specify the border and background colour there, and use one of your other div's (for the author or message column) to create a border down the middle.
tbh
make a parent box that holds all the posts, set its background color to the border color between posts and left/right post colums, then each post will be in a div, then each column of the post will be in seperate divs, and put padding-left: 1px for the left one and padding: 1px for the right one
This post was edited on 07-10-2005 at 11:57 PM by ShawnZ.
Spoiler: the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
|
|
07-10-2005 11:54 PM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [self-split] tables vs. divs
quote: Originally posted by Shawnz
quote: Originally posted by Chris Boulton
quote: Originally posted by Lee Jeffery
top would be easy, problem at the side lies with making certain divs have the same height
Who says you have to do that?
Put each post inside another div, specify the border and background colour there, and use one of your other div's (for the author or message column) to create a border down the middle.
tbh
make a parent box that holds all the posts, set its background color to the border color between posts and left/right post colums, then each post will be in a div, then each column of the post will be in seperate divs, and put padding-left: 1px for the left one and padding: 1px for the right one
no no no, that means you have the problem i mentioned of making them the same height, his solution is good and i might try it
|
|
07-11-2005 07:19 AM |
|
|
fluffy_lobster
Veteran Member
Posts: -2
Posts: 1391 Reputation: 23
36 / /
Joined: Nov 2002
|
RE: [self-split] tables vs. divs
tbh, WHY are you even wasting the typing energy to convert a thread into divs
it is TABULAR DATA. you're discussing all these different tricks to make the layout resemble a TABLE.
apart form anything else, the divs don't hilight in the same way as tables do, screwing copy/paste up the ass.
[offtopic] 1337
|
|
07-13-2005 02:45 PM |
|
|
saralk
Veteran Member
Posts: 2598 Reputation: 38
35 / /
Joined: Feb 2003
|
RE: [self-split] tables vs. divs
I think that we are trying to get the non tabular stuff into divs (at least thats what me and -dt- are saying).
For example, the box i am using to type this in now, is a table, but that is just silly, since it is not tabular data.
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
|
|
07-13-2005 02:58 PM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [self-split] tables vs. divs
quote: Originally posted by saralk
I think that we are trying to get the non tabular stuff into divs (at least thats what me and -dt- are saying).
For example, the box i am using to type this in now, is a table, but that is just silly, since it is not tabular data.
thats what im saying too, the whole making a forum into divs thing was because cookie challenged us to
but the tables that posts are in are just stupid tbh, document tree to get to my post is:
html>body#all>table>tbody>tr>td>table>tbody>tr>td>table>tbody>tr>td>form>table>tbody>tr>td.tborder>table>tbody>tr>td.trow2>table>tr>td>font
WTF
i can see it needs to be in a table because its tabular data but no more than one is needed
|
|
07-13-2005 04:07 PM |
|
|
fluffy_lobster
Veteran Member
Posts: -2
Posts: 1391 Reputation: 23
36 / /
Joined: Nov 2002
|
RE: [self-split] tables vs. divs
quote: Originally posted by saralk
For example, the box i am using to type this in now, is a table, but that is just silly, since it is not tabular data.
Looks like a table to me. It has a header and two rows, one of which is divided into two columns. It's also in common with other more tabular contents.
I should also point out that the latest version of mybb uses a default skin that is much more semantic, much less table-heavy.
but it still uses <font> tags
|
|
07-13-2005 08:41 PM |
|
|
Pages: (4):
« First
«
1
2
3
[ 4 ]
Last »
|
|