474,029 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Taking table-less CSS design far too far

41 2360
On Thu, 25 May 2006 08:32:55 +0100, Steve Pugh <st***@pugh.net > wrote:
"VK" <sc**********@y ahoo.com> wrote:

(a recent real life sample taken from one of newsgroups)


You're joking. Or trolling. Or both.


Or stupid. This _was_ a recent example in a thread on "Are CSS tables
still evil <table>s" ? Both the thread's assertion and VK seemed
equally wrong-headed.
May 25 '06 #31
Andy Dingley wrote:
You'd have to be pretty stupid to accept that sort of statement at face
value though! :)


What if it's combined with "Proof by Authority" and Internet anonymity
though?


I suppose you are right. It's perceived authority figures and Milgram
all over again.

--
Dylan Parry
http://webpageworkshop.co.uk -- FREE Web tutorials and references
May 25 '06 #32
VK wrote:
Steve Pugh wrote:
"VK" <sc**********@y ahoo.com> wrote:
Frank Olieu wrote:
> Why use <h> and <p> when you can use <div class="heading" > and <div
> class="paragrap h"> ;-)

And overall tables are completely dead because:
...
div.grid {display: table; width: 100%; border-spacing: 1em;}
div.grid ul {display: table-row;}
div.grid li {display: table-cell;
...

(a recent real life sample taken from one of newsgroups)
You're joking. Or trolling. Or both.


That's wrong with you?


With you we can never tell when you're joiking, when you're trolling
and when you're just having one of your paranoid delusions. As there
were no W3C conspiracy theories in your post we can rule out the last
one in this case.
Look at the previous post I was quoting to reply
to. This extract of code taken from one of Big 8 groups was intended to
continue the joke.


I wrote the code you quoted.

http://groups.google.com/group/comp....1a2764edce726a

http://steve.pugh.net/test/css-table-demo.html

If you want to play with my toys expect me to join in the game. ;-)
More seriously, the code was written as a theoretical exercise ('cos IE
makes it impractical to use in real life) to demonstrate how CSS can
replace tables used for layout.

Replacing data tables, or replacing headings and paragraphs, with
divs+CSS is just stupid and deserves to be laughed at.

Steve

May 25 '06 #33
Andy Dingley wrote:
On Thu, 25 May 2006 08:32:55 +0100, Steve Pugh <st***@pugh.net > wrote:
"VK" <sc**********@y ahoo.com> wrote:

(a recent real life sample taken from one of newsgroups)


You're joking. Or trolling. Or both.


Or stupid. This _was_ a recent example in a thread on "Are CSS tables
still evil <table>s" ? Both the thread's assertion and VK seemed
equally wrong-headed.


It was an example I wrote.

It served its purpose - as a theoretical demo how CSS can be used to
replace layout tables in compliant browsers. It was never meant to
imply that CSS be used to replace data tables and anyone using it as
such is either joking, trolling or, yes, stupid.

Steve

May 25 '06 #34
VK
Steve Pugh wrote:
I wrote the code you quoted.
Oh-oh... :-)
If you want to play with my toys expect me to join in the game. ;-)
But no bats, OK? :-)
More seriously, the code was written as a theoretical exercise ('cos IE
makes it impractical to use in real life) to demonstrate how CSS can
replace tables used for layout.
Replacing data tables, or replacing headings and paragraphs, with
divs+CSS is just stupid and deserves to be laughed at.


Glad we are agreed on that one.
If you had one in the post I quoted, I would never use it: ciwas is
full of similar samples (but deadly serious, alas).
If I added a smily in my most, I wouldn't need to comment on it later.

The power of smilies in the Usenet...

May 25 '06 #35
In comp.infosystem s.www.authoring.html Nik Coughlin <nr******@gmail .com> wrote:
| ph************* *@ipal.net wrote:
|> In the mean time, I'll be using elements TABLE, TR, and TD for my
|> layouts that can't be done by other means (and this is most of them)
|
| Do you mean "layouts that I can't do without tables because I don't
| understand CSS well enough yet"? You can do any table layout using CSS
| instead.

But CSS tables don't work in all browsers. That was the whole point of
my post. While I dislike Windows and IE and just about anything else of
Microsoft, I don't carry that to the extreme of making my site unreadable
or have problems for readers using IE.

So wait a few years, then you can do it all in CSS, hopefully.
May 25 '06 #36
In comp.infosystem s.www.authoring.html Steve Pugh <st**********@g mail.com> wrote:

| With you we can never tell when you're joiking, when you're trolling
| and when you're just having one of your paranoid delusions. As there
| were no W3C conspiracy theories in your post we can rule out the last
| one in this case.

"Never ascribe to malice that which can be explained by incompetence."
--Someone who's name I forgot
| More seriously, the code was written as a theoretical exercise ('cos IE
| makes it impractical to use in real life) to demonstrate how CSS can
| replace tables used for layout.
|
| Replacing data tables, or replacing headings and paragraphs, with
| divs+CSS is just stupid and deserves to be laughed at.

So I leave the tables in HTML. Works fine as is.
May 25 '06 #37
In comp.infosystem s.www.authoring.html VK <sc**********@y ahoo.com> wrote:

| It is a joke to drop table because "daddy said no" and then recreate
| it's exact behavior on div's because "daddy didn't mention that".

So don't drop tables.

Of couse, if you want to anyway, you can. And it might even work in
IE7 or IE8 or IE9 or so in several years.
May 25 '06 #38
ph************* *@ipal.net wrote:
In comp.infosystem s.www.authoring.html Nik Coughlin
<nr******@gmail .com> wrote:
ph************* *@ipal.net wrote:
In the mean time, I'll be using elements TABLE, TR, and TD for my
layouts that can't be done by other means (and this is most of them)


Do you mean "layouts that I can't do without tables because I don't
understand CSS well enough yet"? You can do any table layout using
CSS instead.


But CSS tables don't work in all browsers. That was the whole point
of
my post. While I dislike Windows and IE and just about anything else
of Microsoft, I don't carry that to the extreme of making my site
unreadable
or have problems for readers using IE.

So wait a few years, then you can do it all in CSS, hopefully.


You don't need CSS tables to reproduce a layout that was done with tables in
CSS. The CSS-only version is not going to be a 1:1 conversion from the
table version (<td> isn't just converted to <div>), it requires a different
methodology and mindset, but the CSS version will look and work the same as
the table version. Sure, you have to hack around some IE bugs, but it can
be done.
May 25 '06 #39
ph************* *@ipal.net wrote:
In comp.infosystem s.www.authoring.html VK <sc**********@y ahoo.com>
wrote:
It is a joke to drop table because "daddy said no" and then recreate
it's exact behavior on div's because "daddy didn't mention that".


So don't drop tables.

Of couse, if you want to anyway, you can. And it might even work in
IE7 or IE8 or IE9 or so in several years.


You can do table-less layouts with CSS that even work in IE 5. Any table
layout can be reproduced like this. It just takes a bit of effort to change
your mindset from table layout to CSS layout and to learn the various
browser quirks and how to work around them.
May 25 '06 #40

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3908
by: Guru | last post by:
Hi All I am using a Global Temporary table in the Stored procedure and i am creating index for a column in that temporary table.When i am executing it. It is not taking that index. I checked using explain plan. But if i run the runstats in the CLP for that temporary table it is taking the index. How i have to implement in the Stored procedure itself? Warm Regards Guru
3
2625
by: VM | last post by:
Why is the third line of code in the loop take so long? W/o that line, the execution (35,000 loops) runs in 3 secs. With the line, it goes up to over 5 mins. dataGrid_auditAddress.DataSource = null; for(int i=0;i<table_rowNums.Rows.Count; i++) { iRowNum = Convert.ToInt32(table_rowNums.Rows); //this table has all row numbers that will be modified DataRow row_1 = DT_tempTable.Select("col_row = " +
8
2797
by: paulwilliamsonremove | last post by:
Hi, Using Access 2003. I am trying to delete records from one table/query ("qryHistoryPersonIDs") if they don't exist in another table ("qryDonations"). But the SQL syntax I came up with is taking forever or locking up Access 2003. What am I doing wrong?
1
1152
by: Ike | last post by:
Why would some innodb's not take a 'no null' for a field? Has anyone experienced anything like this? -Ike
1
1458
by: Nate Baxley | last post by:
OK, I'm taking my first stab at a custom error handler. Here's what I've got but it takes a very long time to return. If I remove the die command it reutrns much faster, but then I get several error messages when I only want one. Any ideas? Nate Baxley function ErrorHandler($code, $msg, $file, $line) { ?><h1>Something wrong has happened</h1> <?
5
3081
by: CarrieR | last post by:
I am working within a DB I have been devolping in Access 2003, and have encountered a report coding issue I was hoping someone could help me with: I have 18 reports, each running off some smaller queried version of 2 main queries (apx. 6000 records each). The purposes of the DB and the reports require the formatting of these reports to change monthly as Actual Revenue is reported. I can accomplish all of these monthly formatting changes...
1
1626
by: KiranKGone | last post by:
Hi All, We have a requirement to archive ( delete and store on a tape device ) the transaction data which is more than 90 days old. Have written the export commands, followed by the delete commands for all the transaction tables. However, I have a table in which 90% of the data is LOBs. The export is working fine on all the tables ( though slower for LOB table ), however, delete is taking some hours for LOB table, in order to delete a few...
4
5215
by: resmi318 | last post by:
I am running a query similar to given below. CREATE TABLE ABC_08 AS (SELECT x.col1, trim(x.col2), x.col3, x.col4, x.col5 FROM Table1 x
2
2118
by: Kumarswamy | last post by:
Hi, I have a problem, i have used one condition in where clause ..... but it is taking some time to return values....... so my procedure is taking lot of time....... for the same table if i query with another column in where clause within fraction of second i getting values....... This query is taking some time...... SELECT entrykey,uniquekey FROM frt_app.ENTRIES_WES WHERE uniquekey=9422077251
0
1657
by: kavin | last post by:
our Customer used to take export backup of a particular schema, previously it used to finish within 30 Minutes. As of now it is taking almost 12 Hours. Export is consuming more time while taking the backup of three particular tables.This tables contains row sizes of 15 lakhs,one lakhs, 75 lakhs respectively
0
10512
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10313
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
11932
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10270
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8661
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7822
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6785
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
5374
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.