Closed Thread Icon

Topic awaiting preservation: positioning in opera and netscape Pages that link to <a href="https://ozoneasylum.com/backlink?for=8719" title="Pages that link to Topic awaiting preservation: positioning in opera and netscape" rel="nofollow" >Topic awaiting preservation: positioning in opera and netscape\

 
Author Thread
JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 06-14-2003 08:54

My complete lack of javascript knowledge aside I jump in and use scripts now and then and sometimes I live to regret it =)

page in question is here.

As you can see I'm using youngpup's slider menus and they're behaving perfectly in IE6 but the positioning is off in NS Mozilla and Opera and I've run through it with my dim js eyes and can't understand why.

My first thought was that the positioning information was written by a browser sniffing script so you could feed the right coords to the right browser. But there's no mention of this on the site, in fact he says it's good in these browsers, so I'm assuming I've done something wrong.

Easy on me, I'm a js (among other things) tard...

Jason

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 06-14-2003 09:47

I think the problem might rather be your CSS / table code than the JavaScript actually.

In Mozilla, there's about 20px less space below the input boxes than in IE, and while the sliding menus appear in the same position in both browsers it looks wrong in Mozilla because the rest of the page if off there.

Hope you'll be able to fix that as tables tend to cause weird things at times

kuckus

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 06-14-2003 10:13

Yup, kuckus is right.

Their all working as they should but you have an extra 20-30 pixels of black space under the user/pass section in IW compared to both mozaill and opera. If you can get the layout pixel perfect cross browser you shouldn't have that problem anymore.

The other option would be to set the values of where the menu's appear based on the position of the menu images on the page, but that might be a little tricky.

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 06-15-2003 01:41

good golly, I did an indepth analysis at one time on the way that different browser treated different form elements, I even published a reference somewhere, and I didn't even think of that.

you think I will remember this lesson this time? or will it take a third?

Jason

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 06-16-2003 06:03

Really... I'd love to see that reference if you've still got it.... I've always had issues with form elements.

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 06-16-2003 16:48

Can't find it man, must have been on an old ISP space. Might have it on a CD around here somewhere but no way I'm looking in that mess for it, emergencies only =D

Jason

[edit] by the way, I set margin and padding to 0px on the class for the form and inputs and that took care of it, thanks you 2

[This message has been edited by JKMabry (edited 06-16-2003).]

« BackwardsOnwards »

Show Forum Drop Down Menu