Consistent Cross-browser Form Widths
Alright, here's the page I'm talking about:
You'll notice the search box on the bottom of the navbar. Apparently (so I'm told) this is showing up really wide in some versions of NS and pushing the width of the navbar to cover 1/3 of the page! It's not too bad in 4.08 but I'm wondering if it's different in other versions of NS 4.x? Someone just told me about this and I'm not sure which version she was using. I don't want to have to go and install a bunch of different versions of communicator just to find this out.
Regardless, is there any way to make form boxes show up the same width in NS as they do in all the others?
mairving posted this at 02:17 — 19th January 2002.
They have: 2,256 posts
Joined: Feb 2001
This was taken from NS 4.7. Pretty ugly eh?
As far as the fix, there are several that you can try. One is to surround the box with to try to control size. Another option would be to try to reduce the size of the text box. Or to have a different page load for NS.
Here is another thread on the subject.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
Megan posted this at 04:37 — 19th January 2002.
She has: 11,421 posts
Joined: Jun 1999
The problem with making it smaller is that if it's small enough to fit in NS it's too small for the other browsers. Thanks for pointing out that other thread - I probably should have looked further through the forum but I don't think I would have thought to look under "expanding text boxes". Thanks to flipper for the CSS trick - I had thought of that before but I thought I'd ask here to see if there was some sort of trick to it - works fine.
Megan
Connect with us on Facebook!
detox posted this at 03:47 — 21st January 2002.
They have: 571 posts
Joined: Feb 2001
What I do is define the width of the form field in my ie css file ( I always do a browser check and use different css files for netscape ie etc), then simply define the size on the html page for the netscape version.
I have all of this written into ASP sub routines, and the sub has saved a heck of a lot of time and space! The whole asp file which holds all of the form building routines takes care of NN4 irregularities, and takes care of form validation automatically.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.