By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,788 Members | 1,115 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,788 IT Pros & Developers. It's quick & easy.

Converting tables to CSS for use with Javascript

P: n/a
C.W

Not sure if I should but this is what I have:

3 x 3 table grid. You click on a square and it places a picture in i
using Javascript.

Fairly simple stuff, each table <td> has a name attribute so it can b
referenced by Javascript.

My question, can this be converted to CSS and more importantly should
even bother or would I be better off leaving it as a table?

Thanks for any suggestions

C.W
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message37144.htm

Jul 20 '05 #1
Share this Question
Share on Google+
12 Replies


P: n/a
On Sun, 25 Jan 2004 12:33:45 -0600, C.W <Gu**********@mail.forum4designers.com>
wrote:

Not sure if I should but this is what I have:

3 x 3 table grid. You click on a square and it places a picture in it
using Javascript.

Fairly simple stuff, each table <td> has a name attribute so it can be
referenced by Javascript.

My question, can this be converted to CSS and more importantly should I
even bother or would I be better off leaving it as a table?

Thanks for any suggestions.
C.W -
------------------------------------------------------------------------
Posted via http://www.forum4designers.com
------------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message37144.html


After much experimentation, I concluded that html tables should *not* be
replaced with CSS. Too much Instability and differences between browsers.
Most web sites, including Microsoft's and Netscape's, use html tables.

You may want to look at Barry Pearson's analysis:

http://www.barry.pearson.name/articles/layout_tables/

Mason C

Jul 20 '05 #2

P: n/a
Mason A. Clark wrote:

After much experimentation, I concluded that html tables should *not* be
replaced with CSS.
css is not a replacement for html tables. html tables are for marking
up tabular data. css is a way to design flexibly for the www.
Too much Instability
Even taking into account positioning bugs -- there are comparitively
few bugs in font and color -- it beats table layout by leaps and
bounds. I can't imagine doing design without it.
and differences between browsers.
For my part, I am entirely unconcerned with differences between
browsers. Who but web developers ever checks a site in more than one
browser?
Most web sites, including Microsoft's and Netscape's, use html tables.
Most web sites don't use a dtd. Most web sites wouldn't validate if
they did have a dtd. Most web sites use tiny fonts. Most web sites are
plagued with usability problems. I don't mimic most web sites.
You may want to look at Barry Pearson's analysis:

http://www.barry.pearson.name/articles/layout_tables/


I've read it already. Much of it is reworked from usenet postings. It
is as unconvincing on the web as it was in usenet.

--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Jul 20 '05 #3

P: n/a
>For my part, I am entirely unconcerned with differences between
browsers.
Me too. I only browse with one browser at a time.
Who but web developers ever checks a site in more than one
browser?


People who browse the web? How many browsers do they use?

Mason C nineteen, counting versions ?
Jul 20 '05 #4

P: n/a
Mason A. Clark wrote:
For my part, I am entirely unconcerned with differences between
browsers.


Me too. I only browse with one browser at a time.
Who but web developers ever checks a site in more than one
browser?


People who browse the web? How many browsers do they use?


One. Excepting web developers, I have never met anyone who uses more
than one browser. Never. I know people who have upgraded, sometimes to
a competing product. But then, they stop using the old one and
exclusively use the new one.

Given that, it is silly to worry if a site looks different from one
browser to another, especially when the difference is trivial.

--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Seen on the web:
This page best viewed by coming over to my office and looking at it on
my monitor.

Jul 20 '05 #5

P: n/a
On Wed, 28 Jan 2004 01:43:53 GMT, Brian
<us*****@julietremblay.com.invalid-remove-this-part> wrote:
Mason A. Clark wrote:
For my part, I am entirely unconcerned with differences between
browsers.


Me too. I only browse with one browser at a time.
Who but web developers ever checks a site in more than one
browser?


People who browse the web? How many browsers do they use?


One. Excepting web developers, I have never met anyone who uses more
than one browser. Never. I know people who have upgraded, sometimes to
a competing product. But then, they stop using the old one and
exclusively use the new one.

Given that, it is silly to worry if a site looks different from one
browser to another, especially when the difference is trivial.


If trivial, I agree. The problem is when a browser does not
show the page in a useful way or shows it ugly. That observer
will be unhappy. Indeed, he/she uses only one browser but the
page fails on that browser.

I believe CSS positioning on a complex page invites this.

Mason C ( I'm trying to be convinced otherwise.)

Jul 20 '05 #6

P: n/a
On Wed, 28 Jan 2004 03:49:59 GMT, Mason A. Clark
<ma*******@THISix.netcom.comQ> wrote:

I believe CSS positioning on a complex page invites this.


Maybe the problem lies not with CSS but with the complexity being
attempted...
Jul 20 '05 #7

P: n/a
In message <ttERb.166615$I06.1652351@attbi_s01>, Brian
<us*****@julietremblay.com.invalid-remove-this-part> writes
Mason A. Clark wrote:
For my part, I am entirely unconcerned with differences between
browsers. Me too. I only browse with one browser at a time.
Who but web developers ever checks a site in more than one browser?

People who browse the web? How many browsers do they use?


One. Excepting web developers, I have never met anyone who uses more
than one browser.


Yes. But which one?
Never. I know people who have upgraded, sometimes to
a competing product. But then, they stop using the old one and
exclusively use the new one.

Given that, it is silly to worry if a site looks different from one
browser to another, especially when the difference is trivial.

That's OK if you're just producing a 'hobby' site for your own personal
use ;-)

But, sadly, the current state of affairs means that the differences can
be far from 'trivial' unless various CSS 'hacks' are used to make pages
look somewhat similar across different browsers.

regards.
--
Jake
Jul 20 '05 #8

P: n/a
On Wed, 28 Jan 2004 10:37:39 +0000, jake <ja**@gododdin.demon.co.uk>
wrote:
Given that, it is silly to worry if a site looks different from one
browser to another, especially when the difference is trivial.

That's OK if you're just producing a 'hobby' site for your own personal
use ;-)

But, sadly, the current state of affairs means that the differences can
be far from 'trivial' unless various CSS 'hacks' are used to make pages
look somewhat similar across different browsers.


What's the problem? Yes, if a site looks *bad* in one browser, that is a
problem. But if it looks good in browser A, and also good but
significantly different in browser B, why is that a problem?

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #9

P: n/a
Brian <us*****@julietremblay.com.invalid-remove-this-part> wrote:
Mason A. Clark wrote:
For my part, I am entirely unconcerned with differences between
browsers.


Me too. I only browse with one browser at a time.
Who but web developers ever checks a site in more than one
browser?


People who browse the web? How many browsers do they use?


One. Excepting web developers, I have never met anyone who uses more
than one browser. Never. I know people who have upgraded, sometimes to
a competing product. But then, they stop using the old one and
exclusively use the new one.


I use two. At work I use IE, at home I use Mozilla Firebird.

b.
Jul 20 '05 #10

P: n/a
Brian Logan wrote:
Brian wrote:
Excepting web developers, I have never met anyone who uses more
than one browser. Never. I know people who have upgraded,
sometimes to a competing product. But then, they stop using the
old one and exclusively use the new one.


I use two. At work I use IE, at home I use Mozilla Firebird.


Hadn't thought of that. I'll bet that, in fact, there are quite a few
people in that situation, using one browser at the office, a different
one at home. That may often mean two versions of IE, but could be two
different browsers altogether.

--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Jul 20 '05 #11

P: n/a
I only browse with one browser at a time.
Who but web developers ever checks a site in more than one
browser?
People who browse the web? How many browsers do they use?

One. Excepting web developers, I have never met anyone who uses more
than one browser. Never.


I use 4 on my Mac. Preferably Safari. If for any reason a page I really
want to see does not oper properly with Safari, I try Netscape 7, iCab
and MSIE, usually in that order.

In the office I have no choice, only MSIE on the PC.

--
François de Dardel
--
http://mapage.noos.fr/dardelf/
Utilisez mon adresse sur noos seulement
Use only my noos e-mail

Jul 20 '05 #12

P: n/a
On Sat, 31 Jan 2004 23:44:05 +0100, François de Dardel
<fd*******@netscape.net> wrote:
I only browse with one browser at a time.
> Who but web developers ever checks a site in more than one browser?
People who browse the web? How many browsers do they use?
One. Excepting web developers, I have never met anyone who uses more
than one browser. Never.


I use 4 on my Mac. Preferably Safari. If for any reason a page I really
want to see does not oper properly with Safari, I try Netscape 7, iCab
and MSIE, usually in that order.

In the office I have no choice, only MSIE on the PC.

At home I run Opera 7.23 primarily. Also run IE 5, 5.5 and 6, and
occasionally the most recent Mozilla and, just for fun, NN4.

At school, they give me a W95 machine running IE5 or 5.5 (don't remember
which), so I d/led Opera. Screw 'em, they'll probably cut my job anyway.
Jul 20 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.