I'm tryin out a new web design for my website, and I can't get some of my tables to stretch all the way across the screen.Here's a screenshot:The top, side, center and bottom are all serperate php files, the table I'm worried about here is that second table to the right. Here's a segment of my code starting off that table:
1/26/2006 11:58:17 PM
doesn't the 100% just make it so it goes as wide as it needs to?you should look at setting a fixed width for it
1/27/2006 12:02:53 AM
yeah, you're right. ha, i should of known that.I think I'll use the javascript var screen.width to get the user's x-res and then use php to dynamically set a fixed width based on that. thanks.
1/27/2006 12:08:24 AM
Please don't use table based layouts.Especially with like 17 nested tables
1/27/2006 1:22:22 AM
^is there a reason you say that? I'm new to web design and I use tables all the time. Is there a better way to do it?
1/27/2006 1:49:49 AM
CSS and divs. If you're just starting learning web design now, you have an advantage over people who learned 5-10 years ago - you can skip the whole 'doing everythign with tables' phase that the rest of us went through in the late 90's. there's thousands of articles on how to use CSShttp://www.skimcss.com/skimlisthttp://www.alistapart.com/articles/practicalcss/http://www.google.com/search?q=css+div+layout
1/27/2006 2:32:11 AM
awesome, I use CSS but only for getting all the text and stuff to match up. Now something else for me to learn to help me procrastinate from all the work I should be doing...Thanks!
1/27/2006 2:35:53 AM