SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: scroll bar not working in IE
-
Jan 5, 2009, 20:28 #1
- Join Date
- Sep 2008
- Posts
- 52
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
scroll bar not working in IE
Hi all,
Ive been trying to update an old site made by another co-worker a while ago.
The prob is the divs all had a fixed height to fit with the content - now the content is larger so ive tried to re-code and add in a scroll bar, however, as usual this isnt working in explorer (the text just flows out of the div)
I seem to have this problem a fair bit, and is obviously something im not doing right but cant figure out what it is..
Any ideas?
cant post links yet so here is the URL:
www dot cstc dot org dot au slash 08index dot html
Thanks in advance!
-
Jan 5, 2009, 20:31 #2
- Join Date
- Apr 2006
- Location
- Maryland
- Posts
- 1,838
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
http://cstc.org.au/08index.html
Uhm - does this look right on any browser? Is #missioncol the element you're referring to? Looks like it just needs this:
Code:#missioncol { overflow-y:scroll; }
-
Jan 5, 2009, 20:49 #3
- Join Date
- Sep 2008
- Posts
- 52
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Wow, quick reply.. thanks!
Yeah i just realised its not right in firefox either - however, when i preview in firefox from dreamweaver is right.. weird.
Anyway, i need the scroll not on the whole div cos it looks a bit ugly with the round corners but instead on the #mission_text_col div inside it. so ive changed my overflow:auto; to your overflow-y:scroll; which is working well as far as text, but now the background image from #missioncol is missing in FF & IE. i have tried background-attachment:fixed; but no go..
Any thoughts?
-
Jan 5, 2009, 20:52 #4
- Join Date
- Apr 2006
- Location
- Maryland
- Posts
- 1,838
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That's because the path is messed up, dunno if it's a typo or IIS:
http://cstc.org.au/images/homepage_content_full.jpg
-
Jan 5, 2009, 21:07 #5
- Join Date
- Sep 2008
- Posts
- 52
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ahhh... typos!
thanks again - much appreciated!
Bookmarks