473,804 Members | 2,985 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Container Scrollbar IE Problem

3 New Member
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.co m/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 2760
drhowarddrfine
7,435 Recognized Expert Expert
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
arathra
3 New Member
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 Recognized Expert Expert
I don't understand. I don't see any scrolling in FF either.
Mar 14 '08 #4
arathra
3 New Member
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 Recognized Expert Expert
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
9616
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 defined in the stylesheet http://home.wanadoo.nl/b.de.zoete/stylesheets/styles.css. The div is shorter than the space taken up by the total amount of thumbnails, hence there is a vertical scrollbar. No problems so far (atleast *I* have no...
3
5097
by: Robert | last post by:
Is it possible to create a Panel with a vertical scrollbar? Thanks Rob
2
8892
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 Anchor the listbox T, L, R, B on the parent form The string items held within the listbox are quite big, much longer than could be displayed within the Listbox display area.
0
1666
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 (“whitespace”) is displayed: In Firefox1.5, there are long horizontal and vertical scrollbars with extra vertical space below the container div, and extra horizontal space to the right of the container div; In Opera9.01, same result;
0
1206
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 yes, i would like to know if it is horizontally or vertically. Based on that, i would like to display the appropriate scrollbar (horizontal and/or vertical)
14
14290
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! ------------------------------------------------ - head - ------------------------------------------------ - - - - m - - - e - -
3
3209
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 add simple styling to the scrollbar of the left hand frame of the page, but the styling i've applied isn't working for some reason. The site is at http://www.maguiresonline.co.uk/new_website/index.html It's the scrollbar in the middle of the...
1
13747
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 inconsistent in the detection of a vertical scrollbar. This involves situations when less than the client area is needed to hold the small amount of data. The inconsistency is when adjusting the panel size within or just below the bottom row....
13
1782
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 items in my pages are USUALLY not set in fixed values, but as percentages (e.g. for frames in frameset, or tables w.r.t the display area), since a priori I cannot know what screen or window size users will use, and the browser window can be...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9577
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9140
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.