prcollin Posted June 12, 2008 Share Posted June 12, 2008 Is it possible to have all the elements of a website set into place with no tables at all. I have some code on my home computer which I forgot to send to myself in an email but basically what happens is there are no tables so I dont know how to set it so that all the elements dont spread all out when the page is loaded. I use the w3schools try it program to test out my code and then when i actually test out the page in a real browser everything spreads out and separates. I basically want a box in the middle of a page with all the text and picture elements inside that box. Any tips. I have done a google search with no resolve Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 12, 2008 Share Posted June 12, 2008 Yeah, for layouts you can do everything with DIVs, and various style combinations of position, float, etc. When you get your hands on the code, post it up and I (we) can provide more direction. Quote Link to comment Share on other sites More sharing options...
prcollin Posted June 13, 2008 Author Share Posted June 13, 2008 Yeah, for layouts you can do everything with DIVs, and various style combinations of position, float, etc. When you get your hands on the code, post it up and I (we) can provide more direction. Thanks I will do that. Quote Link to comment Share on other sites More sharing options...
nafetski Posted June 18, 2008 Share Posted June 18, 2008 Also, keep in mind using a table here and there isn't a BAD thing. As CSS compliance increases, it will become more and more commonplace to get rid of tables..but for now, I use a good mix of both. Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 18, 2008 Share Posted June 18, 2008 Also, keep in mind using a table here and there isn't a BAD thing. As CSS compliance increases, it will become more and more commonplace to get rid of tables..but for now, I use a good mix of both. tables should only be used for data, not for layout Quote Link to comment Share on other sites More sharing options...
haku Posted June 19, 2008 Share Posted June 19, 2008 I agree. Tables for layout are a thing of the past. If it's not tabular data (cross referencing two categories to give data), it shouldn't be in a table. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted June 19, 2008 Share Posted June 19, 2008 Also, keep in mind using a table here and there isn't a BAD thing. As CSS compliance increases, it will become more and more commonplace to get rid of tables..but for now, I use a good mix of both. A mix? Do you mean like using tables for layout with CSS styling applied to it? Sorta contradicts the pure essence of CSS, doesn't it? Quote Link to comment Share on other sites More sharing options...
atticus Posted June 20, 2008 Share Posted June 20, 2008 If you want a good framework to start with, try http://csstinderbox.raykonline.com/ You can download a basic template there and see how it is built. It validates nicely. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.