Link to home
Start Free TrialLog in
Avatar of colonelblue
colonelblue

asked on

Anchored items opened in Colorbox , makes the colorbox align on top off the page instead of centered in IE.

Hello Experts.

I have links to go to a anchors that are opened up in Colorbox however just like an anchor link opens with it at the top of the page, Colorbox loses center and also aligns to the top of the page in IE. Works find in other browsers.

Thank you in advance Experts.
Avatar of uzzidesign
uzzidesign
Flag of United States of America image

Do you have  a link or can you paste code? Which version of IE?

If I had to guess in the dark, I'd say it's due to IE's improper handling of the position property. IE may be defaulting to positioning the colorbox container relative to the <body>. Does specifying a position:relative on Colorbox's parent element help?
Do you have a doctype specified?
SOLUTION
Avatar of colonelblue
colonelblue

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of colonelblue
colonelblue

ASKER

What can I provide you to assist?
My page is only in an intranet so I can not provide a link.

Thanks again.
Did you try the doctype?

> What can I provide you to assist?
Your HTML (body) and inline CSS so I can preview locally.
Hello. Yes I did change the doctype.

The html an css for the main page with the link to the colorbox pop up?
Or the page with the anchored content for the pop up?
Whichever one has the bug on it.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It seems the main issue lies on whether I have a table in the div.
I cannot find a true solution so closing this thread.
I did not get a solution.
One of those questions the other party stops replying.