
July 20th, 2005, 10:28 PM
| | | Converting tables to CSS for use with Javascript
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 | 
July 20th, 2005, 10:28 PM
| | | Re: Converting tables to CSS for use with Javascript
On Sun, 25 Jan 2004 12:33:45 -0600, C.W <Guest.10lr4n@mail.forum4designers.com>
wrote:
[color=blue]
>
>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[/color]
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 | 
July 20th, 2005, 10:28 PM
| | | Re: Converting tables to CSS for use with Javascript
Mason A. Clark wrote:[color=blue]
>
> After much experimentation, I concluded that html tables should *not* be
> replaced with CSS.[/color]
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.
[color=blue]
> Too much Instability[/color]
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.
[color=blue]
> and differences between browsers.[/color]
For my part, I am entirely unconcerned with differences between
browsers. Who but web developers ever checks a site in more than one
browser?
[color=blue]
> Most web sites, including Microsoft's and Netscape's, use html tables.[/color]
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.
[color=blue]
> You may want to look at Barry Pearson's analysis:
>
> http://www.barry.pearson.name/articles/layout_tables/[/color]
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/ | 
July 20th, 2005, 10:28 PM
| | | Re: Converting tables to CSS for use with Javascript
>For my part, I am entirely unconcerned with differences between[color=blue]
>browsers.[/color]
Me too. I only browse with one browser at a time.
[color=blue]
> Who but web developers ever checks a site in more than one
>browser?[/color]
People who browse the web? How many browsers do they use?
Mason C nineteen, counting versions ? | 
July 20th, 2005, 10:29 PM
| | | Re: Converting tables to CSS for use with Javascript
Mason A. Clark wrote:[color=blue][color=green]
>> For my part, I am entirely unconcerned with differences between
>> browsers.[/color]
>
> Me too. I only browse with one browser at a time.
>[color=green]
>> Who but web developers ever checks a site in more than one
>> browser?[/color]
>
> People who browse the web? How many browsers do they use?[/color]
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. | 
July 20th, 2005, 10:29 PM
| | | Re: Converting tables to CSS for use with Javascript
On Wed, 28 Jan 2004 01:43:53 GMT, Brian
<usenet2@julietremblay.com.invalid-remove-this-part> wrote:
[color=blue]
>Mason A. Clark wrote:[color=green][color=darkred]
>>> For my part, I am entirely unconcerned with differences between
>>> browsers.[/color]
>>
>> Me too. I only browse with one browser at a time.
>>[color=darkred]
>>> Who but web developers ever checks a site in more than one
>>> browser?[/color]
>>
>> People who browse the web? How many browsers do they use?[/color]
>
>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.[/color]
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.) | 
July 20th, 2005, 10:29 PM
| | | Re: Converting tables to CSS for use with Javascript
On Wed, 28 Jan 2004 03:49:59 GMT, Mason A. Clark
<masoncNOT@THISix.netcom.comQ> wrote:
[color=blue]
> I believe CSS positioning on a complex page invites this.
>
>[/color]
Maybe the problem lies not with CSS but with the complexity being
attempted... | 
July 20th, 2005, 10:29 PM
| | | Re: Converting tables to CSS for use with Javascript
In message <ttERb.166615$I06.1652351@attbi_s01>, Brian
<usenet2@julietremblay.com.invalid-remove-this-part> writes[color=blue]
>Mason A. Clark wrote:[color=green][color=darkred]
>>> For my part, I am entirely unconcerned with differences between
>>>browsers.[/color]
>> Me too. I only browse with one browser at a time.
>>[color=darkred]
>>> Who but web developers ever checks a site in more than one browser?[/color]
>> People who browse the web? How many browsers do they use?[/color]
>
>One. Excepting web developers, I have never met anyone who uses more
>than one browser.[/color]
Yes. But which one?
[color=blue]
>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.
>[/color]
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 | 
July 20th, 2005, 10:29 PM
| | | Re: Converting tables to CSS for use with Javascript
On Wed, 28 Jan 2004 10:37:39 +0000, jake <jake@gododdin.demon.co.uk>
wrote:
[color=blue][color=green]
>>Given that, it is silly to worry if a site looks different from one
>>browser to another, especially when the difference is trivial.
>>[/color]
>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.[/color]
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/ | 
July 20th, 2005, 10:32 PM
| | | Re: Converting tables to CSS for use with Javascript
Brian <usenet2@julietremblay.com.invalid-remove-this-part> wrote:
[color=blue]
>Mason A. Clark wrote:[color=green][color=darkred]
>>> For my part, I am entirely unconcerned with differences between
>>> browsers.[/color]
>>
>> Me too. I only browse with one browser at a time.
>>[color=darkred]
>>> Who but web developers ever checks a site in more than one
>>> browser?[/color]
>>
>> People who browse the web? How many browsers do they use?[/color]
>
>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.[/color]
I use two. At work I use IE, at home I use Mozilla Firebird.
b. | 
July 20th, 2005, 10:32 PM
| | | Re: Converting tables to CSS for use with Javascript
Brian Logan wrote:[color=blue]
> Brian wrote:
>[color=green]
>> 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.[/color]
>
> I use two. At work I use IE, at home I use Mozilla Firebird.[/color]
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/ | 
July 20th, 2005, 10:32 PM
| | | Re: Converting tables to CSS for use with Javascript
I only browse with one browser at a time.[color=blue][color=green][color=darkred]
>>>>Who but web developers ever checks a site in more than one
>>>>browser?
>>>People who browse the web? How many browsers do they use?[/color]
>>One. Excepting web developers, I have never met anyone who uses more
>>than one browser. Never.[/color][/color]
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 | 
July 20th, 2005, 10:32 PM
| | | Re: Converting tables to CSS for use with Javascript
On Sat, 31 Jan 2004 23:44:05 +0100, François de Dardel
<fdedardel@netscape.net> wrote:
[color=blue]
> I only browse with one browser at a time.[color=green][color=darkred]
>>>>> 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.[/color][/color]
>
> 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.
>[/color]
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. |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over network members.
|