Shaun Mccran

My digital playground

06
S
E
P
2011

Position:relative and overflow CSS issues in Internet Explorer

I was working on a project this week and in the final testing phases I noticed that there was some unusual behaviour in Internet explorer.

A div with an overflow of auto had elements within it that had a position: relative class. The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.

view plain print about
1.group-holder { position:relative; overflow: auto; width: 750px; height: 200px; }
2
3.relative-element {height: 200px; position:relative;}

This is pretty standard code, I've added the 'overflow: auto' value to the containing div element. To solve the problem of having fixed elements inside this just add the position:relative attribute to each offending element. Its a weird little bug I haven't seen before and it looks like it only happens in IE 6 and 7.

TweetBacks
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
http://awriter.org's Gravatar Really structured
<a href="http://awriter.org">awriter.org</a>; and useful information. And everything is clear, thanks. I looked
# Posted By http://awriter.org | 23/08/2015 07:23
Manik Chand's Gravatar Thanks for post this helpful post - Please visit for More information about -
Packers and Movers Bangalore @
http://www.expert5th.in/packers-and-movers-bangalo...
Packers and Movers Mumbai @
http://www.expert5th.in/packers-and-movers-mumbai/...
Packers and Movers Chennai @
http://www.expert5th.in/packers-and-movers-chennai...
# Posted By Manik Chand | 28/09/2015 01:31
Manjeet Sodi's Gravatar This article is really fantastic and thanks for sharing the valuable post.
Packers and Movers Hyderabad @
http://www.expert5th.in/packers-and-movers-hyderab...
Packers and Movers Delhi @
http://www.expert5th.in/packers-and-movers-delhi/
Packers and Movers Gurgaon @
http://www.expert5th.in/packers-and-movers-gurgaon...
Packers and Movers Noida @
http://www.expert5th.in/packers-and-movers-noida/
# Posted By Manjeet Sodi | 28/09/2015 01:31
Manjeet Sodi's Gravatar Thanks for all your information, Website is very nice and informative content.
Packers and Movers Pune @
http://www.expert5th.in/packers-and-movers-pune/
Packers and Movers Thane @
http://www.expert5th.in/packers-and-movers-thane/
Packers and Movers Navi Mumbai @
http://www.expert5th.in/packers-and-movers-navimum...
Packers and Movers Ghaziabad @
http://www.expert5th.in/packers-and-movers-ghaziab...
Packers and Movers Faridabad @
http://www.expert5th.in/packers-and-movers-faridab...
# Posted By Manjeet Sodi | 28/09/2015 01:31
facelift sydney's Gravatar A div with an overflow of auto had elements within it that had a position: relative class. The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By facelift sydney | 03/10/2015 06:56
realtown.com/denver-property-management-companies/'s Gravatar I simply want to tell you that I am new to weblog and definitely liked this blog site. I have been meaning to write something like this on my website and you have given me an idea.
# Posted By new year 2016 | 05/10/2015 08:09
buy traffic's Gravatar I have been meaning to write something like this on my website and you have given me an idea.
# Posted By buy traffic | 05/10/2015 23:17
cccam server's Gravatar it that had a position: relative class.
# Posted By cccam server | 06/10/2015 01:17
Business intelligence software's Gravatar A div with an overflow of auto had elements within it that had a position: relative class. The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By Business intelligence software | 07/10/2015 06:07
cab service jaipur to delhi's Gravatar I am realy very happy to visit your blog. Now I am found which I actually want .
# Posted By cab service jaipur to delhi | 11/10/2015 01:06
Driving Under the Influence's Gravatar I am realy very happy to visit your blog. Now I am found which I actually want .
# Posted By Driving Under the Influence | 14/10/2015 00:52
Mike Blinder Advertising Sales Training on Plan Bo's Gravatar I was working on a project this week and in the final testing phases I noticed that there was some unusual behaviour in Internet explorer.
web semantic seo's Gravatar A div with an overflow of auto had elements within it that had a position: relative class. The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By web semantic seo | 19/10/2015 23:56
buy visitors's Gravatar I visits your site frequently and recommended it to me to read also. The writing style is superior and the content is relevant.
# Posted By buy visitors | 20/10/2015 07:15
Injustice Hack's Gravatar I was working on a project this week and in the final testing phases I noticed that there was some unusual behaviour in Internet explorer.
# Posted By Injustice Hack | 26/10/2015 23:46
lab tests portal's Gravatar I visits your site frequently and recommended it to me to read also. The writing style is superior and the content is relevant.
# Posted By lab tests portal | 27/10/2015 06:09
best weight loss pills's Gravatar A div with an overflow of auto had elements within it that had a position: relative class. The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By best weight loss pills | 02/11/2015 22:44
how to check for bed bugs's Gravatar I was working on a project this week and in the final testing phases I noticed that there was some unusual behaviour in Internet explorer.
# Posted By how to check for bed bugs | 15/11/2015 22:23
Bulk buy Twitter accounts's Gravatar final testing phases I noticed that there was some unusual behaviour in Internet explorer.
# Posted By Bulk buy Twitter accounts | 18/11/2015 01:21
Plumbing Service's Gravatar The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By Plumbing Service | 22/11/2015 00:33
fiverr blog commenting's Gravatar I simply want to tell you that I am new to weblog and definitely liked this blog site. I have been meaning to write something like this on my website and you have given me an idea.
# Posted By fiverr blog commenting | 22/11/2015 22:23
http://www.alpha-project1.com/in-ear-headphones/'s Gravatar within it that had a position: relative class. The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
click here's Gravatar ithin it that had a position: relative class. The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By click here | 24/11/2015 03:36
http://www.beartarot.com's Gravatar The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By http://www.beartarot.com | 25/11/2015 07:42
NYC Dog Training's Gravatar Food Network Magazine, and Pilates Style. A native of the San Francisco Bay Area, she currently lives in Texas with her husband and son.
# Posted By NYC Dog Training | 25/11/2015 21:36
# Posted By Sanga | 27/11/2015 22:31
Sanga's Gravatar <a href="http://www.christmas-images2015.com/">Chri... announcement card</a>

<a href="http://www.christmas-images2015.com/">Chri... envelopes examples</a>

<a href="http://www.christmas-images2015.com/christmas-balc... balcony images</a>

<a href="http://www.for-fb.com/fb-status-about-me-2.html&qu... status about love in hindi</a>
# Posted By Sanga | 27/11/2015 22:46
cpr instructor's Gravatar A div with an overflow of auto had elements within it that had a position....
# Posted By cpr instructor | 28/11/2015 04:48
a line wedding dress online<'s Gravatar Food Network Magazine, and Pilates Style. A native of the San Francisco Bay Area, she currently lives in Texas with her husband and son.
# Posted By a line wedding dress online< | 30/11/2015 12:14
professional seo and link building services's Gravatar The problem here was that the elements remained fixed in place, and the scrollbar was no longer scrolling their content.
# Posted By professional seo and link building services | 03/12/2015 02:30
merry christmas ecards 2015's Gravatar thnk<a href="http://www.newyearwallpaper2016.net/">happ... new year wallpaper 2016</a> thnks


<a href="http://christmasecards2015.net/">merry christmas ecards 2015</a> thnks

<a href="http://www.happyhugday3.com">happy hug day images</a> thnks


<a href="http://www.happyteddyday7.com">happy teddy day images</a> thnks


<a href="http://www.happyroseday2016.com">happy rose day images</a> thnks


<a href="http://www.happypongalwishes.in">pongal wishes in tamil</a> thnks
# Posted By merry christmas ecards 2015 | 04/12/2015 11:27
ADas's Gravatar Keep uploading informative stuffs like it.... Helped me a lot....
# Posted By ADas | 13/12/2015 22:37
bank loans's Gravatar I am new to weblog and definitely liked this blog site. I have been meaning to write something like this on my website and you have given me an idea.
# Posted By bank loans | 13/12/2015 23:06
http://acceptcoverage.com/shop-around.html's Gravatar It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work!
# Posted By http://acceptcoverage.com/shop-around.html | 14/12/2015 21:55
happy new year 2016 images's Gravatar jghdthghkgfkyugreetings.html
# Posted By happy new year 2016 images | 15/12/2015 00:07
happy new year 2016's Gravatar Your work is very good and I appreciate you and hoping for some more new informative posts.

<a href="http://www.happynewyear2015pictures.net/">... new year 2016 images</a>
<a href="http://www.happynewyear2015pictures.net/">... year 2016</a>
<a href="http://www.happynewyear2015pictures.net/">... new year images</a>
<a href="http://www.felizanonovo2016.net/2015/08/mensagens-... ano novo 2016</a>
# Posted By happy new year 2016 | 15/12/2015 04:52
Salman Khan's Gravatar Yes IE 6&7 have some bugs and that`s the reason I prefer Chrome coz it works like charm without any bugs. <a href="http://directtutorials.com/salman-khan-hd-wallpape... wallpapers 1080p-salman khan images-photos</a>
# Posted By Salman Khan | 15/12/2015 15:05
free blogger templates's Gravatar Positioning in css is really a tough job but the way you have shared and written it is really a great piece of writing....
http://www.mastemplate.com
# Posted By free blogger templates | 15/12/2015 22:28
high pr backlink service's Gravatar I am new to weblog and definitely liked this blog site. I have been meaning to write something like this on my website and you have given me an idea.
# Posted By high pr backlink service | 16/12/2015 11:05
Driving Under the Influence's Gravatar I am new to weblog and definitely liked this blog site. I have been meaning to write something like this on my website and you have given me an idea.
# Posted By Driving Under the Influence | 19/12/2015 01:57
jaipur to ajmer taxi's Gravatar I have been meaning to write something like this on my website and you have given me an idea
# Posted By jaipur to ajmer taxi | 21/12/2015 05:02
Sujit's Gravatar scrollbar was no longer scrolling <a href="http://www.mastemplate.com/">Blogger Templates</a> their content.
# Posted By Sujit | 21/12/2015 08:10
packers and movers pune's Gravatar I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing.
# Posted By packers and movers pune | 22/12/2015 03:59
Career School's Gravatar I basically need to tell you that I am new to weblog and absolutely delighted in this site page...
# Posted By Career School | 22/12/2015 21:38
what is oil pulling at http://proteccozumel.com/'s Gravatar I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work.
loans for bad credit's Gravatar You guys do a great blog, and have some great contents. Keep up the good work.
# Posted By loans for bad credit | 26/12/2015 03:59
happy new year images 2016's Gravatar nice blog, great info.
# Posted By happy new year images 2016 | 27/12/2015 00:34
buy youtube video likes's Gravatar I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work.
# Posted By buy youtube video likes | 30/12/2015 22:17
Ranveer's Gravatar Thanks you for this post… great information.
<a href='http://iplauction2016.in/'> IPL 2016 Auction Players list Vivo IPL </a>
<a href='http://iplauction2016.in/ipl-season-9-auction-date-indian-premier-league-2016-teams-start-date/" target="_blank">http://iplauction2016.in/ipl-season-9-auction-date...'>IPL 2016 Auction Players list Released </a>
<a href='http://iplauction2016.com/indian-premier-league-20...'>IPL Auction 2016 Player Retention list </a>
# Posted By Ranveer | 07/01/2016 01:07
alexa traffic's Gravatar Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.
# Posted By alexa traffic | 09/01/2016 22:05
taxi in ajmer's Gravatar hey've already delivered to featuring credits to help persons prepared start some sort
# Posted By taxi in ajmer | 10/01/2016 01:22
Rajimist's Gravatar <a href="http://www.pongalwishess.in/happy-pongal-wishes-sm... Pongal Wishes SMS</a>

<a href="http://www.pongalwishess.in/pongal-recipes-ven-pon... Pongal Wishes Recipes</a>

<a href="http://www.pongalwishess.in/pongal-wishes-images-g... Pongal Wishes Greetings</a>

<a href="http://www.pongalwishess.in/pongal-rangoli-kolam-d... Pongal Wishes Kolam</a>

<a href="http://www.pongalwishess.in/">Happy Pongal Wishes</a>
# Posted By Rajimist | 10/01/2016 21:59
real estate's Gravatar ndian-premier-league-2016-teams-start-date/'>IPL 2016 Auction Players list Released
# Posted By real estate | 13/01/2016 02:30
junaid's Gravatar Valentine's Day, <a href="http://happyvalentinesdayimages2016p.com/valentine... day coloring pages middle school</a> It is celebrated in many countries around the world.
# Posted By junaid | 14/01/2016 11:57
junaid's Gravatar Valentine's Day, <a href="http://happyvalentinesdayimages2016p.com/valentine...; valentines day coloring pages middle school </a> It is celebrated in many countries around the world.
# Posted By junaid | 14/01/2016 11:59
Paket Wisata Pulau Tidung's Gravatar axoqelup jaroer
http://savejonesbeach.com/rekreasi-dengan-biaya-mu...
eputem ofanid evuted orotel ovonuf unutib akutik egoreg ojisel etesic axesuh etureh
# Posted By Paket Wisata Pulau Tidung | 14/01/2016 23:26
Pulau Pari's Gravatar ocesibes texoow
http://savejonesbeach.com/wisata-pulau-pari/
anepij ozaseh ikupem odosel ipaneg adeqif akoqic ezuqug upetij ajotej urarej owanij
# Posted By Pulau Pari | 14/01/2016 23:26
Jasa Penerjemah's Gravatar Penerjemah Tersumpah I do think if the skills provided on this blog can be therefore very amazing and the wish to travel once you want to travel you should search for a blog that contains information about vacationer please press this site
http://www.jasapenerjemahsolusi.com/
# Posted By Jasa Penerjemah | 14/01/2016 23:27
Service Solahart's Gravatar Immediately after reading this blog I'm quite pleased since your blog provides extensive know-how in order to audience.
Thank you with the work along with share a thing extremely precious in my experience.
We loose time waiting for another content creation as well as We plead one to get back to go to the internet site at http://customerservicecentersolahart.net/
# Posted By Service Solahart | 14/01/2016 23:28
Service Wika's Gravatar Soon after reading this weblog My business is quite satisfied because this blog provides intensive expertise to visitors.
Thanks a lot for the function along with reveal anything very valuable to me.
My spouse and i lose time waiting for the following content creation and also We ask someone to return to pay a visit to my personal site on http://servicecenterwika.com/
# Posted By Service Wika | 14/01/2016 23:29
Pulau Bidadari Paket's Gravatar Right after scanning this website I am quite fulfilled simply because your blog is providing intensive expertise in order to visitors.
Thank you for your operate in addition to discuss some thing quite important to my opinion.
I lose time waiting for another web content writing as well as My partner and i ask that you get back to pay a visit to my personal web site at http://kepulauseribu.com/paket-tour-pulau-bidadari...
# Posted By Pulau Bidadari Paket | 14/01/2016 23:29
Pulau Ayer Resort's Gravatar Following looking over this web site My business is quite happy mainly because this blog provides intensive knowledge in order to followers.
Thanks for the work and also reveal something incredibly precious in my experience. When i beg you to go back to pay a visit to my own website with http://kepulauseribu.com/paket-tour-pulau-ayer/ We await the next web content writing.
# Posted By Pulau Ayer Resort | 14/01/2016 23:30
Pulau Sepa's Gravatar Immediately after scanning this blog site We are extremely happy mainly because this website is providing comprehensive information for you to viewers.
Appreciate it with the function and write about anything incredibly treasured to my opinion. I ask that you resume check out my personal website from http://kepulauseribu.com/paket-tour-pulau-sepa/ My spouse and i wait for the subsequent content creation.
# Posted By Pulau Sepa | 14/01/2016 23:31
Wisata Pulau Putri's Gravatar Soon after reading this article weblog I'm really pleased due to the fact this site is providing intensive understanding to be able to visitors.
Thanks to the work and share a thing quite precious in my opinion.
My spouse and i wait for the following article writing and also We plead with one to return to visit the site from http://kepulauseribu.com/paket-tour-pulau-putri/
# Posted By Wisata Pulau Putri | 14/01/2016 23:32
valentines day 2016 gifts's Gravatar really nice and impressive post,,
# Posted By valentines day 2016 gifts | 15/01/2016 21:56
valentines day 2016 gifts's Gravatar happy valentinesday 2016 is not so far so get ready to celebrate with yourlover and friend's and here are so lovely and beautiful latest 2016 HD wallpaprs and images .
send these wallpapers to your lover and friends and make them so special.

http://valentinesdayideas2016.com/valentines-day-2016-ideas.html" target="_blank">http://valentinesdayideas2016.com/valentines-day-2...

http://valentinesdayideas2016.com/
# Posted By valentines day 2016 gifts | 15/01/2016 21:58
# Posted By valentines day 2016 gifts | 15/01/2016 22:00
happy friendship day 2016's Gravatar http://www.popularwishes.com/
http://www.popularwishes.com/happy-friendship-day-wallpapersimages-hd/
http://www.popularwishes.com/friendship-day-messages-latest-sms/
# Posted By happy friendship day 2016 | 17/01/2016 04:43
happy friendship day 2016's Gravatar nice post
# Posted By happy friendship day 2016 | 17/01/2016 04:46
# Posted By happy friendship day 2016 | 17/01/2016 04:48
# Posted By sam | 17/01/2016 23:23
Happy Valentine's Day 2016's Gravatar A Huge Collection of Valentine's Day Images, Messages, SMS, Quotes, Pictures and Wallpapers.....
# Posted By Happy Valentine's Day 2016 | 19/01/2016 02:48
Back to top