Feedback on: irt.org FAQ Knowledge Base Q1314
Comments:
The HTML coding does not center anything in either my Netscape 4.5 browser nor my MSIE 5.0 browser.
I had hoped this would be the solution to a need I have to horizontally center a dynamic layer so that it is horizontally center on all screen sizes.
I see how to detemine the screen size.
But, I do not see how to use this knowledge to control where the layers are positioned.
I wish the 1314 had worked and was a lead to my need. I didn't and wasn't.
Technical:
Not technical enough
Comments:
Considering the example gives you an error on line 11 :
document.myLayer.style is not an object
It would be a great tutorial, if it only worked. That's what I was looking for!
Technical:
Not technical enough
Comments:
This script seemed to have different effects on different browsers. When I viewed it in Netscape 4.5, I found that the title, "Some Text" was dynamically centered just right, though it overlapped the filler text which was also being centered properly. When I viewed it in IE 4+, I found that "Some Text" appeared in the upper left-hand corner, while the filler text appeared to be centering properly.
Basically, I need a script that will work in BOTH browsers. Surely there's a way to center a layer that will dynamically change when the user resizes it.
I hope someone can suggest another solution.