Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q1314

Feedback on: irt.org FAQ Knowledge Base Q1314

Sent by Robert F Rohrer on August 16, 2000 at 22:37:09: - feedback #1632

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.


Sent by Scott on January 03, 2001 at 17:17:50: - feedback #2203

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!


Sent by Joanna Kleinschmidt on April 20, 2001 at 16:18:13: - feedback #2640

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.


©2018 Martin Webb