Topic: pixels in tables Pages that link to <a href="https://ozoneasylum.com/backlink?for=10613" title="Pages that link to Topic: pixels in tables" rel="nofollow" >Topic: pixels in tables\

 
Author Thread
Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

IP logged posted posted 10-16-2001 15:41 Edit Quote

I don't understand this,
<table height="100" width="100" border="1"><tr><td></td></td></table>
the example abow, will be difrent size in IE and NN.
Why? is'nt a pixel a pixel


twItch^
Maniac (V) Mad Scientist

From: the west wing
Insane since: Aug 2000

IP logged posted posted 10-16-2001 16:52 Edit Quote

First and foremost, you're missing some of the attributes of the <table> tag. If you want it to look exactly the same, ensure cellpadding="0" and cellspacing="0" exist. The border, however, will be interpreted differently by each browser. Some will add the 1px to the size, some will subtract, others will append.

So best not to use border="1" in a table if you need it to look the same in all browsers.


s t e p h e n

Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

IP logged posted posted 10-16-2001 17:17 Edit Quote

It din't do the "thing" i'm using NN 4.08
check this www.osaires.d2g.com

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 10-16-2001 18:54 Edit Quote

Osaires: I'm not sure it is anything to do with tables but more to do with your use of absolute positioning which can a cause trouble with NS4.x. As far as I can tell your main problem is that the lines and the last modified/browser/visitor numbers (from the get_system() function) are appearing below the image of the Earth rather than over it - which looks to be a problem with the positioning (or something else pos.?) rather than tables. You are doing some unusual things on the page (esp. with the absolute positioning) - you are positioning the systems info in the init() function and it seems to be putting them in the right place with regard to the lines.gif graphic so my suspicion is that your positioning in NN isn't quite right or it is something like the z-index which is causing the problem.

So it might be due to NN 4.x sucking (somewhere in the mix of absolute positioning and z-indices) but it could also be you not getting the distance from the top of the page right (try changing the values where you use setpos() for NN). Anyway that is my take on it - it could be something I've missed.

Actually the above relies on the fact that that is your problem as I can't see anything else standing out (your balls are circling slightly off centre which might be of some concern to you - that is also a positioning [or medical] problem I suspect). If it isn't the problem then you may need to explain what exactly is going wrong as either I can't see it or its not a noticeable problem.

Emps


You're my wife now Dave

Rane
Bipolar (III) Inmate

From: Denmark
Insane since: Oct 2001

IP logged posted posted 10-17-2001 12:52 Edit Quote

Theres a general Netscape problem with layers and tables. I think Emperor is right in his assumption that NN might be sucking.

Often I've had to place a blank gif (100px of width in your case) at the top of the cell, and then place a blank gif under the first gif (99px of height in your case) just to make sure the table looks exactly the same in Netscape. There's a lot of tweaking like this to do, when you gotta make something work in Netscape...unfortunately

But in general....positioning sucks in Netscape!



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu