Get Paid to Participate - up to $1 per post!     Twitter     Facebook     Google+
Hosting Discussion
 

forgot password?



Reply


Old
  Post #1 (permalink)   01-08-2011, 09:09 AM
HD Addict
 
webling's Avatar
 
Join Date: Dec 2010
Posts: 243

Status: webling is offline
I've had other webmasters tell me I need to get away from tables and use DIV instead. Does it really matter how I code the site as long as it has a good design and is easy to navigate? I'm redeveloping my site and I think the graphics are good, layout is good and is easy to navigate. My thinking is that most peoplel don't give a hoot what coding you've used, they are more concerned with what their eyes behold.

If I'm wrong please tell me.
 
 
 


Old
  Post #2 (permalink)   01-08-2011, 11:28 AM
HD Newbie
 
Join Date: Oct 2010
Posts: 12

Status: hostentic is offline
Using div usually makes your design easier to be styled later on. Suppose to be faster as well.
__________________
Hostentic.com | Shared Hosting | Dedicated Hosting | SSL Certificates
R1Soft Continuous Data Protection | 24/7 Technical Support | US Servers
RVSkin | RVSite Builder | Softaculous | Fantastico Deluxe | Cloud Linux
 
 
 


Old
  Post #3 (permalink)   01-09-2011, 02:10 AM
HD Newbie
 
Join Date: Aug 2010
Posts: 15

Status: DediServ is offline
Yes you should use div instead of tables. The other advantage for div, which hostentic did not mentioned is usability under text web browsers, tablets, or browsers without styles. When you are using tables, the page is really width, and it is hard to navigate. With div, you do not have this issue, because it is displaying all content, line by line.

Just try to disable styles for page (for eg. in firefox) View / Styles / Ignore styles. And check the differences.
 
 
 


Old
  Post #4 (permalink)   02-04-2011, 05:07 AM
HD Newbie
 
Join Date: Jan 2011
Posts: 30

Status: MilliR is offline
Plus, working with DIV has better Exact rendering amongst the various browsers available nowadays. Most of the time, tables are rendered differently by different engines.

Also, I think DIV is more search engine friendly. Plus more semantical.
__________________
MilliR - icySrv.com
Serving you VPS
1Gbit KVM VPS
https://icysrv.com
 
 
 


Old
  Post #5 (permalink)   02-05-2011, 01:51 PM
HD Newbie
 
Join Date: Jan 2011
Posts: 45

Status: Aquickhost is offline
Div is better in many cases, but old Table is also fine when u need to just put elements in order. Div is for professionals, but table can be used easily by a newbie.
 
 
 


Old
  Post #6 (permalink)   02-06-2011, 12:39 PM
HD Newbie
 
Join Date: Jan 2011
Posts: 30

Status: MilliR is offline
Quote:
Div is better in many cases, but old Table is also fine when u need to just put elements in order. Div is for professionals, but table can be used easily by a newbie.
Using DIV can't be termed as being professional, in my opinion I think it is just good practice!! Yes you can design with tables but it should be limited to what it's used for. Tables can be used to design tables!! An entire page designed using just tables is out of standard and strongly discouraged.
__________________
MilliR - icySrv.com
Serving you VPS
1Gbit KVM VPS
https://icysrv.com
 
 
 


Old
  Post #7 (permalink)   02-07-2011, 12:47 PM
HD Guru
 
Join Date: Apr 2009
Location: Sheffield, UK.
Posts: 574

Status: HostOX is offline
You will find some people do look at the source to see experience or make some snarly comments and put you down.

But how the site looks and is coded is also Company image, so I would go with divs and css since it is more professional than good old tables.
__________________
HostOX | Hosting Built on Consistency, reliability and strength.
 
 
 


Old
  Post #8 (permalink)   02-26-2011, 01:19 PM
Account Disabled
 
Join Date: Feb 2011
Posts: 6

Status: charlesrshell is offline
div is more professional and hassle free way for web programming.
 
 
 


Old
  Post #9 (permalink)   02-26-2011, 03:13 PM
HD Amateur
 
Join Date: Feb 2011
Location: Toronto, Ontario, Canada
Posts: 78
Send a message via MSN to XienHost

Status: XienHost is offline
Divs are cleaner and easy to add css.

I always use divs and css hand in hand
__________________
Thank you,
XienHost, Inc. - Michael
Dedicated To The Client
http://www.xienhost.net
 
 
 


Old
  Post #10 (permalink)   03-18-2011, 01:55 PM
HD Newbie
 
Join Date: Mar 2011
Posts: 34

Status: reliablewebhost is offline
I always use divs also. They are much easier to control, especially when there is a lot of nesting, I always got lost when using tables in the past
 
 
 


Old
  Post #11 (permalink)   03-18-2011, 08:46 PM
HD Addict
 
Join Date: Feb 2011
Posts: 223

Status: ServerSea is offline
DIV shorten your code up to 60%. So of course web developed in it will be faster than table technique.
__________________
ServerSea – Low Cost High Quality Web Hosting & Designing
Domain For Life– 99.9% Up time – Super Fast Servers – Backups – True 24/7 Support
Money Back Guarantee – Special Discounts – Unlimited Downloads
http://www.serversea.com
 
 
 


Old
  Post #12 (permalink)   03-19-2011, 06:25 AM
HD Newbie
 
Join Date: Mar 2011
Posts: 28

Status: jacobatwood is offline
Using DIV makes the work easier. Also using it is useful for the SEO purpose.
__________________
█ A home to Virtual Machines!
Onshore/Offshore Managed VPS
Managed HardCore Ultimate VPS Offshore/Onshore
 
 
 


Old
  Post #13 (permalink)   03-24-2011, 11:23 AM
HD Newbie
 
Join Date: Mar 2011
Posts: 34

Status: reliablewebhost is offline
Tabels are history. With divs is much easier to create template,divs use less code, easy to add new elements to the page in future.

So use div.
 
 
 


Old
  Post #14 (permalink)   03-24-2011, 08:14 PM
HD Addict
 
Join Date: Feb 2011
Posts: 223

Status: ServerSea is offline
Designs does matter a lot, I must say that it matters more than 60%. because normal users are not be concerned about which code you wrote and how, they will like your web if it is attractive and design will be good.
__________________
ServerSea – Low Cost High Quality Web Hosting & Designing
Domain For Life– 99.9% Up time – Super Fast Servers – Backups – True 24/7 Support
Money Back Guarantee – Special Discounts – Unlimited Downloads
http://www.serversea.com
 
 
 


Old
  Post #15 (permalink)   03-30-2011, 06:39 PM
HD Addict
 
Join Date: Feb 2007
Posts: 167

Status: bermuda is offline
Using DIV elements and CSS particles instead of HTML can be recommended but no magical gains would be made after doing the transition and this is an important issues always as you can find so many cool purely HTML made sites.

Even if your web pages contain tens of tables and even lots of coding errors but is at the same time powered by valuable contents plus incoming links, you will experience traffic boosts. Using proper CSS codes can make it easier for you to maintain structure of your site in the long term.
__________________
Banner Perfect | Logo Mansion
 
 
Reply
Previous Thread Next Thread


Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: