Forum Moderators: open
In each dimension the "size" of a pixel in the second case will be half that of the first case. Therefore the pixels in the second case will be 1/4 the area of the pixels in the first case. But both are still one pixel!
<DIV STYLE="position:absolute;
left:<%=hor[colnum]%>mm;
<% if (rownum == 0 && firsttime == 1) {
verti = .5;
firsttime = 0;
} else {
if (rownum == 0 && colnum == 0) {
verti += 1.5;
} else if (colnum == 0){
verti += 1
}
}
%>
top:<%=verti%>in;
font-family:<%=ffamily%>;
font-size:<%=fsize%>; }
I'm still tweaking my 3 X 10 labels from the browser. When I used pixels: 96/inch it seemed to work, I tested it at several resolutions and it printed the same page each time. (which is good!)
[w3.org...]
That's why, when you create a new image in Photoshop or Paint Shop Pro or other similar program, it usually wants to default to a resolution of 72 dpi. Note that the word "resolution" means something slightly different from what you may be used to (for example saying you have your screen resolution set to 800x600, which is actually a misuse of the word).
If you want to to print something without it looking blocky, you'd want to choose a much higher resolution such as 300 or 600 dpi.
So that's how those kind of pixels work.
There is another sort of pixel: put you face very close to your monitor, so that you can see the individual red, green and blue dots (if you're lucky enough to have good eyesight). Each set of three dots (one red, one blue, one green) is called a pixel. The size of these pixels obviously varies according to the monitor manufacturer. Computer monitors have fairly small pixels because you generally sit within about 1 metre of the screen, whereas televisions have bigger pixels as you generally sit much further away.