Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

PHP "window" in site design not working for IE of any version

Posted on 2012-04-02
6
338 Views
Last Modified: 2012-04-02
A friend of mine is designing a simple website to display news information and such on development of software he is working on. He seems to be doing this through PHP, the particular design uses a sort of overlay window over the main body and works properly in Firefox and Chrome, but doesn't do its job in Internet Explorer (any version).

In detail; he has a news feed he updates, and has a link that says "[Open News]", and when you click on this, a gray box comes up and overlays over the main page like shown below.

Two images cropped together to show the effect of the PHP script placed in the site design  and how it should look like.
When you do the same in Internet Explorer, below is what happens.

Image of a PHP script shown in Internet Explorer not working properly
As you can see, its not what it should be doing. I think there's a compatibility issue involved but  can't figure it out for myself, and thought someone might be able to help.

I can ask the designer for the code if it is needed to help troubleshoot.

Thanks in advance.
0
Comment
Question by:HMNormoyle
  • 3
  • 3
6 Comments
 
LVL 6

Expert Comment

by:ingriT
ID: 37795442
Do you have the url, or the css and html code to check this? Without code there are too many options of things that could be wrong.
0
 

Author Comment

by:HMNormoyle
ID: 37795451
The URL is currently an IP address as he has not purchased a domain name yet and is still developing it.

http://216.238.232.35:4545/?p=News
0
 
LVL 6

Accepted Solution

by:
ingriT earned 500 total points
ID: 37795499
Try this in your stylesheet (replacing the current code) for the #FullPage div:

#FullPage
{
position:relative;
top: -120px;
}

#FullPageInner
{
// nothing
}

Open in new window

0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:HMNormoyle
ID: 37795537
That seemed to place it in the center of the page, which is obviously better than where it was before. I'm only able to test this locally as I do not have access to his FTP to upload the new stylesheet myself. Is there a way to extend the window so that it fills the window vertically or is there a limitation for Internet Explorer?

This is the outcome:

Full screen image of updated stylesheet.
0
 
LVL 6

Assisted Solution

by:ingriT
ingriT earned 500 total points
ID: 37795567
You can set a higher value for the top, not -120px, but -300 px.
0
 

Author Comment

by:HMNormoyle
ID: 37795579
Great, I'll have him look this over. Thanks for the help.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question