RE: [ cf-dev ]
vs.

Tue, 04 Nov 2003 06:39:47 -0800

Don't use a DIV when a table will do the job. Tables will resize and
nest a lot nicer than DIV's and are always cross browser.
The only reason to use a DIV instead is if you want it to be resizable,
drag and drop, scrollable etc.

Russ
-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED] 
Sent: 04 November 2003 13:17
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] <div> vs. <table>


Ok... Bearing in mind that this could start a war...

What are people's opinions on using <div>s + CSS for layout over
<table>s? I am thinking specifically for new sites (not re-designing old
sites etc).

<div>s...
Pros: CSS is for design and styling and <div>'s can be controlled by CSS
Cons: <table>s are simple and widely used and effective.  <div>s can be
complicated to implement cross-browser (because MS can't produce a
standards compliant browser unless they make their own standards).

Thoughts?

Paul
-----------------------------------
Paul Johnston
PJ Net Solutions Ltd
http://www.pjnetsolutions.com
[EMAIL PROTECTED]
+44 (0)7866 573013



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.536 / Virus Database: 331 - Release Date: 03/11/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.536 / Virus Database: 331 - Release Date: 03/11/2003
 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to