Relative div in table cell - internet-explorer-7

I have positioned a div relatively in a table cell. This is given to position my absolute div(which is present inside the relative div). When I scroll the table in IE7, the relatively positioned div is not scrolling along with rows. Where as, this is working perfectly in FIrefox and IE8.
Link to the page

Related

SVG graph and table is collapsing when not given a specific size

So I have a graph and table that show results according to the number of flights, but I want their size to be automatic, but right now if I don't give the div that is wrapping them together a specific size, they will end up collapsing. See the attachment enter image description here
The div container cannot be resized by charts. All charts as a default fir to the div container. It means that you should define the div size by CSS manually, for example, 100% of the parent's element or specific size in px.
Inside the div, you can adjust the table and chart manually.
In the comment below you can find the sample of a table and a column chart. Every one of them is 50% height of the div container. And the div container occupies 100% of the body.

Scroll to a specific id within my directive element

I have a full width navigation div on the left hand side of an angular system.
I've successfully set an id on the <li> for the active page when doing a full page load.
This is all done within my navigation directive.
The div scrolls when there is a long list of items in it.
What I am trying to do is scroll to the active element within the div but am having no joy.
Within my directive I have successfully found the id using:
element.find('#exampleId');
but am not sure how to get just this div to scroll to the relevant id.
Any ideas?
This would scroll to the bottom of a div with the Id messagesContentElement
let messagesContentElement = document.getElementById('messagesContentElement');
messagesContentElement.scrollTop = messagesContentElement.scrollHeight;
So you need to get the scrollTop value right. Maybe you can calculate this based on a fixed cell height?

CSS3 Nested fixed position elements for dialog box

I'm trying to use CSS with 'position: fixed' to create a dialog box. When I 'open' the dialog box in chrome I can see the 'dialogbox' in the dropdown where the markup of the fixed element is, but it is not rendered in the way I expect.
Chrome shows that the dialog is there and the position is correct, but the rendering is wrong.
I'm expecting fixed elements to be drawn relative to the viewport regardless of where they are in the DOM, and the z-index is larger than all other elements. What am I doing wrong?

Relatively positioned element stays fixed even when page scrolled down in IE7

I have this absolutely positioned icon <a>, hence its parent <li> is relatively positioned. The list items are in a scrollable <div>.
Problem is except for these <li>s other elements in the div are scrolling along with the height of the div, whereas the <li>s stays fixed whereas I expected the <li>s also to be scrolled along inside the div.
Tried overflow:hidden, zoom:1, doesn't work.
Here is the jsfiddle link
Found the answer from this question, https://stackoverflow.com/a/13996983/1531426
I thought I searched enough :(
Adding position:relative;overflow:auto; to the container div which has the height, fixes the issue.

IE display with absolute positioned div

I'm having a display problem with an absolute positioned div in IE6 + IE7
I'm trying to display a drop down menu. this drop down menu is positioned absolute.
now as soon as there's another element below this menu that has position: relative, the absolute positioned drop down menu is displayed behind it.
this only happens in IE7 and 6 as mentioned above.
any ideas on how to fix this?
The css property z-index is there to let you define what object should be displayed "on top". Define z-indexes for all elements in quest (only drop-down should also work I think).
EDIT (based on provided code):
The element to give the z-index property to is "the topmost element with a position attribute that the overlapped div is not part of. In terms of your sample, give the z-index to menu_container or add it to header and give header position: relative (I like the latter option better because it is less likely to break with future changes of your html).
As for an explanation why this is so, in IE6 and IE7 things work as follows: currently absolute_div is above everything inside menu_container, but menu_container is below relative_div, so absolute_div is too. The reason that header doesn't participate in this story is that if no position attribute is given, what is displayed in front and what is in the back is calculated differently.

Resources