473,383 Members | 1,984 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Container Scrollbar IE Problem

Hi, hope someone can help with this. It's driving me mad.

I have a container inside which is another DIV which is filled with pictures and then another DIV with some text.

In FF the picture DIV scrolls horizontally which is as it should be. In IE, however, the Container scrolls and I can't seem to find a way to make the picture DIV scroll instead.

The page is http://cristimodels.com/catalogue/item.asp?fIndex=2

CSS:

Expand|Select|Wrap|Line Numbers
  1. #content {
  2.     margin-left: 83px;
  3.     background: #FFFFFF;
  4.     overflow: auto;
  5.     margin-left: 92px;
  6.     width: 842px;
  7.     height: 480px;
  8.     padding: 0px;
  9. }
  10. #bigPictures {
  11.     margin-left: 10px;
  12.     margin-right: 10px;
  13.     height: 380px;
  14.     white-space: nowrap;
  15.     //display: inline;
  16.     overflow: auto;
  17. }
  18. #details {
  19.     margin-top: 0px;
  20.     margin-left: 30px;
  21. }
  22. #extrabuttons {
  23.     margin-top: -45px;
  24.     margin-left: 690px;
  25. }
  26. <div id="content">
  27.      <div id="bigPictures">
  28.           <!-- lots of wide pictures -->
  29.      </div>
  30.      <div id="details">
  31.           <!-- some text -->
  32.      </div>
  33.      <div id="extrabuttons">
  34.           <!-- some more stuff -->
  35.      </div>
  36. </div>
Any help appreciated!
Mar 13 '08 #1
5 2743
drhowarddrfine
7,435 Expert 4TB
Validate your CSS for that list of errors. There are 3 in particular that might be affecting this, particularly your incorrect comment. You are using // instead of /*
Mar 13 '08 #2
Validation does not solve the problem.

Validated code looks like this:

Expand|Select|Wrap|Line Numbers
  1. #bigPictures {
  2.     margin-left: 10px;
  3.     margin-right: 10px;
  4.     height: 380px;
  5.     white-space: nowrap;
  6.     display: inherit;
  7.     overflow: auto;
  8. }
  9.  
  10. <!--[if lt IE 7]>
  11. <style type="text/css">
  12. #bigPictures { display: inline; }
  13. </style>
  14. <![endif]-->
  15.  
  16. <!--[if IE 7]>
  17. <style type="text/css">
  18. #bigPictures { display: inline; }
  19. </style>
  20. <![endif]-->
  21.  
This is the best I can make it look for now, but it still doesn't move the scroll bar in IE from the container to the bigPictures div.
Mar 14 '08 #3
drhowarddrfine
7,435 Expert 4TB
I don't understand. I don't see any scrolling in FF either.
Mar 14 '08 #4
I don't understand. I don't see any scrolling in FF either.
In FF the scrollbar is just under the model. If you scroll then only the pictures move.

The same page in IE shows the scrollbar under her measurements and when scrolling they (and a couple of buttons) move also.
Mar 14 '08 #5
drhowarddrfine
7,435 Expert 4TB
There is a big gap at the top which pushes the rest of the content down and hides the bottom of the model's picture. There is no vertical scroll so I can't see anything much below the bottom half.
Mar 14 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Barbara de Zoete | last post by:
On one of my pages http://home.wanadoo.nl/b.de.zoete/html/tekeningen.html I have a div containing thumbnails (who ever came up with that word?) to select a larger view of a picture. The div is...
3
by: Robert | last post by:
Is it possible to create a Panel with a vertical scrollbar? Thanks Rob
2
by: Paul_Madden via DotNetMonster.com | last post by:
I am handling the Listbox DrawItem event to enable the listbox strings to be displayed in different colours for easy reading. Have set ScrollAlwaysVisible and HorizontalScrollbar to true. I...
0
by: chrispforr | last post by:
I created a container div to hold all the index page’s content. I’m satisfied how the content is displayed within the container div; however, outside the container div, extra blank browser space...
0
by: --== Alain ==-- | last post by:
Hi, I have a control (let's called it : Container) which include several "Child" controls. 1. I would like to detect if a child control is out of the display rectangle of the container. If...
14
by: MrPutty | last post by:
Hello everyone! It seems I've finaly found a place with savy folks ;-) The following problem has me puzzeled - hopefully someone can help me out! ...
3
by: nicky77 | last post by:
Hi, before you say it i know frames are bad practice - but i'm developing dynamic content on a site which has already been designed, so alas there's no option but to use them. Anyway, I just want to...
1
by: Tom | last post by:
First, I posted a similar request for help in another group and now don't find the posting. Problem with my newsreader perhaps ... but apologies if this appears as a cross posting. My code is...
13
by: LC's No-Spam Newsreading account | last post by:
I have happily lived for 15 years (our first web server started in 1993) without CSS, but I now decided to learn and experiment with it. My personal preference has always been that the width of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.