Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Working with <div> tags... | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Black Lord Level: 34 Posts: 74/453 EXP: 235639 For next: 18012 Since: 03-15-04 From: Nebraska, what's a Nebraska Since last post: 8 days Last activity: 1 day |
| ||
I was wondering if you could have div tags align like the board index... say I have a while loop and I want it to make rows of certain items... is there a way to do this with div tags and have the multiple rows... I've yet to see any examples... so ... I've tried multiple ways and I can't seem to find one either |
|||
Zem You can be civil without being flowery, dipshits. Level: 49 Posts: 298/1107 EXP: 829398 For next: 54485 Since: 06-13-04 Since last post: 131 days Last activity: 131 days |
| ||
You mean div tags, or tables? It sounds like tables are what you're looking for. | |||
SyntaxLegend Double metal axe Level: 25 Posts: 95/222 EXP: 78264 For next: 11356 Since: 04-21-04 From: Australia Since last post: 20 days Last activity: 10 hours |
| ||
i believe he wants it so he can make his page more HTML complaint instead of using out of date tables... | |||
Zem You can be civil without being flowery, dipshits. Level: 49 Posts: 301/1107 EXP: 829398 For next: 54485 Since: 06-13-04 Since last post: 131 days Last activity: 131 days |
| ||
Tables are not out of date. When laying things out in a table format, tables are preferred to divs. | |||
Black Lord Level: 34 Posts: 76/453 EXP: 235639 For next: 18012 Since: 03-15-04 From: Nebraska, what's a Nebraska Since last post: 8 days Last activity: 1 day |
| ||
ok... that's what I needed to know... thanks Zem... | |||
FreeDOS Lava Lotus Wannabe-Mod :< Level: 59 Posts: 826/1657 EXP: 1648646 For next: 24482 Since: 03-15-04 From: Seattle Since last post: 6 hours Last activity: 4 hours |
| ||
Tables are for tabular data. Yes. Divs are far more flexible since they do nothing. You just modify their position and things with CSS. |
|||
Dylan Devil Trumpets and Angel Trombones ~ Level: 54 Posts: 1102/1407 EXP: 1181697 For next: 52173 Since: 06-19-04 From: Ottawa, Canada. Since last post: 1 day Last activity: 6 hours |
| ||
Something like a forum is obviously organized in a tabular fashion, so tables would be the preferred method to construct it. Printing out rows in a table with a for() or while() loop is a lot easier than printing out divs, since rows fall into place after one another, while divs need margining and css to properly do that. | |||
Modereb Paragoomba Level: 15 Posts: 70/75 EXP: 14749 For next: 1635 Since: 06-04-04 Since last post: 350 days Last activity: 339 days |
| ||
When reading the replies in this thread, it makes me wonder, have you people ever heard of the CSS float attribute, perhaps? | |||
Dylan Devil Trumpets and Angel Trombones ~ Level: 54 Posts: 1104/1407 EXP: 1181697 For next: 52173 Since: 06-19-04 From: Ottawa, Canada. Since last post: 1 day Last activity: 6 hours |
| ||
Originally posted by Modereb |
|||
Modereb Paragoomba Level: 15 Posts: 71/75 EXP: 14749 For next: 1635 Since: 06-04-04 Since last post: 350 days Last activity: 339 days |
| ||
Originally posted by DylanOriginally posted by Modereb |
|||
Black Lord Level: 34 Posts: 78/453 EXP: 235639 For next: 18012 Since: 03-15-04 From: Nebraska, what's a Nebraska Since last post: 8 days Last activity: 1 day |
| ||
Thanks Modereb... I did some things using float and figured it out... |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Working with <div> tags... | | | |