Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / July 2003



Tip: Looking for answers? Try searching our database.

Dynamically position DIV in Netscape 6 & 7??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brad Melendy - 29 Jul 2003 17:44 GMT
Hello,
I found a great script that lets me create and position a DIV element
as if it were a popup.  It works great in IE 5.x and above and
Netscape 4.7x, but it doesn't work in Netscape 6 or 7.  Specifically,
in NS 6 and 7, it creates the 'popup' in the upper left corner but
never repositions it or hides it as it does in IE or NS 4.7x.

I've got the page here:

http://brad.melendy.com/main/test/popup.htm

I believe I've traced part of the problem to the style using a
variable for the width and height values.  If I replace the variables
with hard coded numbers, it positions in NS 6 and 7, but that defeats
the purpose for me as I want it to center on the current browser's
width and height.

Thanks in advance for any help!

....Brad
Brad Melendy - 30 Jul 2003 16:05 GMT
Turns out that Netscape 6 or 7 just can't deal with a variable being
referenced in the DIV, but by replacing it with a percentage, I was
able to get the effect I was after of centering the box on the
browser.

> Hello,
> I found a great script that lets me create and position a DIV element
[quoted text clipped - 16 lines]
>
> ....Brad
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.