Learn how to a build a cloud-first strategyRegister Now


describe answer

Posted on 2011-10-02
Medium Priority
Last Modified: 2012-05-12
Question by:rgb192
LVL 16

Accepted Solution

SSupreme earned 2000 total points
ID: 36905041
That file is a script which compiled by IE.
When page is loaded script begins collecting variables for future borders.
One of the variable is position of element which require rounded borders and it is what answer was based on.
So script looks for parent element with CSS rule "position:relative;" and adds the shapes (you can see when script adds shapes one-by-one).
At start script was unable to find CSS rule, therefore by default it adds shapes to <body> at the end and it means bottom layer.
You placed shapes in correct  #wrap <div>, and made this script compile only by IE7, IE8 and NOT IE9.
So it works as it should and where it should and in correct layer.

Author Closing Comment

ID: 36953071

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month20 days, 15 hours left to enroll

810 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