A Conversation for The GuideML Clinic

TABLE HELP

Post 1

THE SPACE INVADER

i thought you may be able to answer my enquiry
i want to produce a table about 1000 cells by 1000 cells 1x1 cell size in which i can choose the colour of each cell any ideas ?


TABLE HELP

Post 2

Rho

It's possible to use tables in this way to create images. However, a 1000 x 1000 table would be too big - each time the page in which it appeared was opened, the load on the servers would be too great. smiley - smiley

A1033426 shows a smaller table that SEF created for the same purpose - <./>test1033426</.> shows the type of code that you'll need to use. SEF has a program that you might be able to use (with permission) to create similar tables. smiley - ok

RhoMuNuQ


TABLE HELP

Post 3

THE SPACE INVADER

THANKS VERY MUCH


TABLE HELP

Post 4

Rho

No problem! smiley - smiley

RhoMuNuQ


TABLE HELP

Post 5

Rho

By the way, are you sure you want the RhoMuNuQ picture on your personal space? It says RhoMuNuQ on it in big letters! smiley - winkeye

RhoMuNuQ


TABLE HELP

Post 6

Titania (gone for lunch)

Eh - Rho - I can't see any table on the page you referred to - is it one of those things that only work in IE?smiley - huh

Because if it is, then I know a way around it that I found out trying to make tables Netscape safe...smiley - whistle Oh - and I'm not using Netscape myself, but Opera...


TABLE HELP

Post 7

Rho

I know that it works in IE, and I know that it doesn't work in very old versions of Netscape. I don't have any other working browsers just now to test out, though. smiley - erm

How did you manage to make the tables Netscape-friendly? smiley - bigeyes

RhoMuNuQ


TABLE HELP

Post 8

Titania (gone for lunch)

Exactly how much are you willing to pay me?smiley - tongueout

Naaah... just kidding... a lot of hard work, I'm afraid...

...see, the trouble with some browsers is that they can't 'see' empty data cells in a table, so you have to fill them with something - something that doesn't show - tricky, eh?

Now, if it were your own private website, you'd just insert an empty gif - and what did we get when the Brunel skin was introduced? smiley - eureka

You would have to insert the gif into every single data cell - told you it's a lot of work... you can see an example of it here: A676910

(I don't know what the id="blip" stands for in the GuideML though, it came with Twinkle's smiley table generator)


TABLE HELP

Post 9

Rho

Thanks! smiley - biggrin

I'll fiddle with the table at some point and see if I can make it work on more browsers. smiley - smiley

smiley - cheers
RhoMuNuQ


TABLE HELP

Post 10

SEF

There are tiny.gif files all over the skin definitions. It does make the code bigger though and the BBC do keep saying they only officially support IE. smiley - winkeye

I told someone else that the id=blip thing is unnecessary. It is supposed to be uniquely defined for a tag within a document anyway. The idea is that you can refer to it later, eg with javascript.


TABLE HELP

Post 11

Titania (gone for lunch)

Ah - thanks SEF - yet another new thing learnt!smiley - weird

I've used HEIGHT="1" together with the empty-looking gif - would there be a way to make it even smaller?


TABLE HELP

Post 12

SEF

That's a white transparent GIF to you. smiley - winkeye

HEIGHT="1" is the smallest you can have, ie 1 pixel. You are up against the 72 dpi definition for pixel size (though it can actually vary a bit with monitors).


TABLE HELP

Post 13

Titania (gone for lunch)

*settles down more comfortably*

Oh joy - a smiley - geek who know doubt will be all too happy to explain things to a computer-illiterate like me!smiley - silly

Eh - what's dpi?

*ready with pen and paper*

Don't tell me it means 1 pixel is made out of 72 what-nots?


TABLE HELP

Post 14

SEF

Are you sure you want to know? smiley - ermsmiley - biggrin

dpi = Dots Per Inch

The GIF standard specifies that they be displayed at 72 dpi. Other file formats don't care or are even printer specific. As a result of the 72 thing an internet page with GIF images will be displayed in big blocky form on a printer even if that printer has a higher dpi (better quality resolution). My printer has a 300 dpi setting (among others). 72 doesn't divide exactly into 300. So some "pixels" are shown as bigger than others (mostly 4 printer pixels but with every 6th one as 5 pixels). Is that geeky enough yet? smiley - weird


TABLE HELP

Post 15

Titania (gone for lunch)

*feels something smiley - zoom over her head*

Eh - did we have to get printers involved in this too?smiley - online2long Eh - so how many inches is one pixel? *starting to feel rather silly - in fact, even sillier than usual*


TABLE HELP

Post 16

Spelugx the Beige, Wizard, Perl, Thaumatologically Challenged

No a pixel is a device-dependant unit. People usually assume monitors to be 72 dpi (although I have seen 75 smiley - weird, and my monitor actually is 95x96dpi), which is quite convient for a measure like the postscript point which is defined to be 72 points per inch, now if only more people used something cool like display postscript (or svg icons) people with big monitors would have better resolution not just more desktop space.

spelugx


TABLE HELP

Post 17

Titania (gone for lunch)

*busy taking notes hoping that she will understand them one day when she's not quite as tired*


TABLE HELP

Post 18

SEF

Well I did ask if you were sure you wanted to know. smiley - biggrin

If there are 72 dots/pixels per inch then each dot or pixel is 1/72 nd of an inch. However, monitors differ. So it is only an approximate or pretend size.


TABLE HELP

Post 19

Titania (gone for lunch)

Hmmm... *scratches head* ...so... is the 72 the height or the width of a monitor?


TABLE HELP

Post 20

SEF

No and neither. A monitor or TV is usually measured diagonally in inches. smiley - weird

The 72 dots per inch is supposed to mean that if you measured out an inch on your screen there should be 72 pixels along that inch. This can be done horizontally or vertically though these are sometimes different as spelugx said. That brings me to the aspect ratio - something else you probably don't want to know.

By the way, using the smallest URL I could find to an invisible BBC gif, I've updated my picture on A1086329 so that it should be visible in opera or whatever. However, it nearly doubles the size of the code. smiley - yikes


Key: Complain about this post