brown2005 Posted August 15, 2006 Share Posted August 15, 2006 i know this aint a php question... but wat is best for designing websites, using <tables> or <divs> Quote Link to comment Share on other sites More sharing options...
DocSeuss Posted August 15, 2006 Share Posted August 15, 2006 <div>s are the way to go Quote Link to comment Share on other sites More sharing options...
brown2005 Posted August 15, 2006 Author Share Posted August 15, 2006 thanks.. Quote Link to comment Share on other sites More sharing options...
Yesideez Posted August 15, 2006 Share Posted August 15, 2006 Can I ask how you can make tables with <div>s?Aren't <div>s just horizontals? Quote Link to comment Share on other sites More sharing options...
SharkBait Posted August 15, 2006 Share Posted August 15, 2006 Depends. Layout should be done in <div>tabular data should be done in tables :)<div> load faster than <table> do. Or thats my experience. Though <div>s need more tricks to employ to get them to look the same across different browsers.Its why I used tables for so long. I didnt really have to worry about them not working properly in other browsers. Now that I am using <div> its a bit more work, but the pages look nicer, are easier to manage and load faster :) Quote Link to comment Share on other sites More sharing options...
SharkBait Posted August 15, 2006 Share Posted August 15, 2006 You can 'float' the <div> tables to make tables. It can get hectic but it is doable :) Quote Link to comment Share on other sites More sharing options...
Yesideez Posted August 15, 2006 Share Posted August 15, 2006 I use tables everywhere and I'm not new to CSS but i rarely use <div> because I've found it such a pain in the past. Know any sites I can look at to see how they can be used? Quote Link to comment Share on other sites More sharing options...
SharkBait Posted August 15, 2006 Share Posted August 15, 2006 My site uses simple 2 column CSS layoutwww.tingram.caShould be able to see the source code to see how the floats are done. I dont use the css sheet much because I was playing with the div tags individually.This site: http://css.maxdesign.com.au/floatutorial/ I've used a few times to help me figure out layouts and such.As for tables using <div> I can't remember where I saw an example of it. I'm sure google can find something about it though. Quote Link to comment Share on other sites More sharing options...
Yesideez Posted August 15, 2006 Share Posted August 15, 2006 Many thanks - will go off and hunt some down now :) Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 15, 2006 Share Posted August 15, 2006 Search engines prefer divs over tables since there is less tags, and therefor a smaller amount of data it has to read through. Quote Link to comment Share on other sites More sharing options...
RightNow21 Posted August 15, 2006 Share Posted August 15, 2006 Use CSS to control the <div> the size, position, color etc.Link the style sheet outsite and you page will be very clean for SEO too! Quote Link to comment Share on other sites More sharing options...
newb Posted August 15, 2006 Share Posted August 15, 2006 how do you learn how to make tableless div only websites? 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.