 | |
08-26-2009
|
#1 | | Upcoming MPGHiean
Join Date: Mar 2008 Location: United Kingdom
Gender:
Posts: 3,330
Thanks: 4,294,967,293
Thanked 277 Times in 153 Posts
My Mood: Credits: 15,087, Level: 24 | | div vs table layouts tables
pros
------
fast and easy
the standard output for sliced image maps in photoshop
cons
------
slow
looks messy, thus slowing your development time
from html 3.2 or some shit ¬_¬ <div>
pros
-----
intergrated with css
faster than tables
easyer to navigate and read when returning to change code
cons
-----
may require a brain
ive personal decided to take the time to expand my knowllage in <div> tags and general css however this may not be the best option.
id like to know some other views more importantly compare the choice to there intellegence ¬_¬ |
| |
08-26-2009
|
#2 | | Prepare for trouble
Join Date: Aug 2008
Gender:
Posts: 10,102
Thanks: 360
Thanked 744 Times in 467 Posts
My Mood: Credits: 33,701, Level: 31 | | Div for the win.
Ohai again Greg. |
| |
08-26-2009
|
#3 | | Upcoming MPGHiean Threadstarter
Join Date: Mar 2008 Location: United Kingdom
Gender:
Posts: 3,330
Thanks: 4,294,967,293
Thanked 277 Times in 153 Posts
My Mood: Credits: 15,087, Level: 24 | | Quote:
Originally Posted by Czar Div for the win.
Ohai again Greg. | Stfu div for the win
how about iframe vs framesets? |
| |
08-26-2009
|
#4 | | Prepare for trouble
Join Date: Aug 2008
Gender:
Posts: 10,102
Thanks: 360
Thanked 744 Times in 467 Posts
My Mood: Credits: 33,701, Level: 31 | | Quote:
Originally Posted by English Stfu div for the win
how about iframe vs framesets?  | Yay for Iframe being retarded and easy for lazy ppls. =D |
| |
09-22-2009
|
#5 | | i can design a nation
Join Date: Aug 2009 Location: i can design a nation.
Gender:
Posts: 843
Thanks: 0
Thanked 36 Times in 31 Posts
| Quote:
Originally Posted by English iframe vs framesets? | dont be retarded.
As a web&graphic designer i would recommend DIV instead of TABLE.
im not going to waste my time getting into it, but trust me.
__________________ |
| |
07-18-2010
|
#6 |
Join Date: Oct 2006
Gender:
Posts: 925
Thanks: 0
Thanked 42 Times in 31 Posts
My Mood: Credits: 6,882, Level: 19 | | Quote:
Originally Posted by iHolyElement dont be retarded.
As a web&graphic designer i would recommend DIV instead of TABLE.
im not going to waste my time getting into it, but trust me. | necro, i was telling czar to stfu, only time ive used tables is when taking output from photoshop
__________________ Quote: |
Originally Posted by Greg; If you are the flame you can't be burned. |  |
| |
07-23-2010
|
#7 | | Dual-Keyboard Member
Join Date: Jun 2010 Location: Columbus, OH
Gender:
Posts: 331
Thanks: 31
Thanked 40 Times in 19 Posts
Credits: 1,530, Level: 11 | | tables are good for single file sites and simplicity as well as stuff like schedules, divs are good for fine tuning and absolute positioning.
__________________ Cost to Renew Hosting: $239.40 USD Renewal Date: December 03, 2010 |
| |
07-29-2010
|
#8 | | Banned
Join Date: Jul 2010
Gender:
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post
| Quote:
Originally Posted by BloodSkin tables are good for single file sites and simplicity as well as stuff like schedules, divs are good for fine tuning and absolute positioning. | tables suck all the time, there messy and gay.
plus this was more to give information to those who dont know how to use either, so they know what they should learn. |
| |
07-31-2010
|
#9 |
Join Date: Oct 2007 Location: Liquid Generator
Gender:
Posts: 6,719
Thanks: 2
Thanked 1,006 Times in 533 Posts
My Mood: Credits: 20,503, Level: 27 | | Quote:
Originally Posted by Calculating Infinity tables suck all the time, there messy and gay.
plus this was more to give information to those who dont know how to use either, so they know what they should learn. | Partially true. Tables are still widely in use for emails though, as many popular clients can't render div layouts all that well (that also includes Outlook).
Other than that yes, divs are superior and it's easy to make a table-like layout. Now, if we want to make it similar in structure (talking about the basic structure here): HTML Code: <table>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table> we can make the following div layout: HTML Code: <div>
<div>
<div></div>
<div></div>
<div></div>
</div>
<div>
<div></div>
<div></div>
<div></div>
</div>
</div> And use some CSS: Code: div > div {
overflow: auto;
}
div > div > div {
float: left;
width: 33%;
}
div > div > div:last-child {
width: 34%;
}
I think that should work, sorry if I did anything wrong, I just woke up
Edit: forgot a ; in the css :S
__________________
You know I would be a good mm. You just know it.
Support me by thanking me here (yep, you gotta click "here")!
If I helped you, you better thank me and/or +rep.
Or ima go beat up lil puppies and kittens. Your choice.
Thanks for any support / rep / thanks!
Last edited by m³; 07-31-2010 at 01:44 AM..
|
| |
08-01-2010
|
#10 |
Join Date: Oct 2006
Gender:
Posts: 925
Thanks: 0
Thanked 42 Times in 31 Posts
My Mood: Credits: 6,882, Level: 19 | | Quote:
Originally Posted by m3 Partially true. Tables are still widely in use for emails though, as many popular clients can't render div layouts all that well (that also includes Outlook).
Other than that yes, divs are superior and it's easy to make a table-like layout. Now, if we want to make it similar in structure (talking about the basic structure here): HTML Code: <table>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table> we can make the following div layout: HTML Code: <div>
<div>
<div></div>
<div></div>
<div></div>
</div>
<div>
<div></div>
<div></div>
<div></div>
</div>
</div> And use some CSS: Code: div > div {
overflow: auto;
}
div > div > div {
float: left;
width: 33%;
}
div > div > div:last-child {
width: 34%;
}
I think that should work, sorry if I did anything wrong, I just woke up
Edit: forgot a ; in the css :S | shaddap
anyway bitch git on my dev team
__________________ Quote: |
Originally Posted by Greg; If you are the flame you can't be burned. |  |
| | | | |