| Forum Home | ||||
| PC World Chat | ||||
| Thread ID: 57999 | 2005-05-18 09:35:00 | Tables websites should die | ad_267 (6193) | PC World Chat |
| Post ID | Timestamp | Content | User | ||
| 356312 | 2005-05-19 05:38:00 | Its very fast to whip up a table, set to 700px and centered. And then enter your text formatted with css. Or you could use the table for some tabular data and just stick in a div box that is a percentage of the browser window with percentage margins so it isn't a tiny little spec when viewed in a browser with a resolution above 1024*768 |
ad_267 (6193) | ||
| 356313 | 2005-05-19 05:58:00 | Tables are good for positioning objects around the webpage. But that's not what they are for. Divs are for content division. You can easily use CSS to position divs. |
ad_267 (6193) | ||
| 356314 | 2005-05-19 06:17:00 | So what do you do when you DON"T want to use % . When I use tables I use them to get a fixed width and have that centered on the screen so any screen will see the contents exactly as I intend them to be seen . Or you could use the table for some tabular data and just stick in a div box that is a percentage of the browser window with percentage margins so it isn't a tiny little spec when viewed in a browser with a resolution above 1024*768 |
netchicken (4843) | ||
| 356315 | 2005-05-19 08:27:00 | This is easier to do with the div element and the position=" " declaration than with tables, because you declare them all in the CSS and do not have to declare in each cell. You simply do one column at a time as a separate div, then put all the block pics in it. If they have the same dimensions then you declare them only once in the CSS. In fact, this is the exact reason why CSS are recommended above tables. A good-ish tutorial is at www.w3schools.com I am interested and although I use the W3Schools site all the time I find it difficult to put a decent page together using their examples. What I need are example pages of what I want to hack around with. If you know of any then please let me know. |
FoxyMX (5) | ||
| 356316 | 2005-05-19 08:34:00 | What I need are example pages of what I want to hack around with . If you know of any then please let me know . Have a look at the designs of Haran on OSWD . His designs use CSS really well . See . oswd . org/userinfo . phtml?user=haran" target="_blank">www . oswd . org |
ad_267 (6193) | ||
| 356317 | 2005-05-19 08:36:00 | So what do you do when you DON"T want to use % . When I use tables I use them to get a fixed width and have that centered on the screen so any screen will see the contents exactly as I intend them to be seen . Well then you give the div a fixed width . |
ad_267 (6193) | ||
| 356318 | 2005-05-19 08:45:00 | Have a look at the designs of Haran on OSWD. His designs use CSS really well. Thanks for that, it looks really useful. :) |
FoxyMX (5) | ||
| 356319 | 2005-05-19 09:18:00 | I use both. | Growly (6) | ||
| 356320 | 2005-05-19 12:47:00 | I am interested and although I use the W3Schools site all the time I find it difficult to put a decent page together using their examples. What I need are example pages of what I want to hack around with. If you know of any then please let me know. www.oswd.org. Look for designs by a guy named haran. Ah, I see someone else has pointed you to exactly the same spot! Yeah, that is exactly how I learnt to do it. Haran has a good design ("Gazzette"?) where he does the columns using div elements... |
vinref (6194) | ||
| 356321 | 2005-05-19 15:49:00 | tables are the lazy way out I guess... I currently use them but I did not actually know it was aginst the W3C and I'm trying to get my site XHTML verified... I shall switch when i learn how to use CSS better.... say... Sunday... :D |
hamstar (4) | ||
| 1 2 3 4 5 6 7 8 | |||||