473,320 Members | 1,947 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,320 software developers and data experts.

IE7 horizontal scrolling problem

Hi - I've managed to get this site working in Firefox and IE6, without
any horizontal scrolling, but for some reason IE7 is insisting on
horizontal scrolling by quite a wide margin.

Does anyone have any pointers on what might be going on here?
Site is at: http://tinyurl.com/36oznb/

Thanks,
Colin.

Dec 2 '07 #1
2 7674
On 2 déc, 14:55, "seaj...@hotmail.com" <seaj...@hotmail.comwrote:
Hi - I've managed to get this site working in Firefox and IE6, without
any horizontal scrolling, but for some reason IE7 is insisting on
horizontal scrolling by quite a wide margin.

Does anyone have any pointers on what might be going on here?
Site is at:http://tinyurl.com/36oznb/

Thanks,
Colin.

Hello Colin,

I checked your webpage and you have at least 5 unneeded CSS rules.

html>body #header { /* IE ignores this block as it doesn't understand
the selector */
height: auto; /* Reset the height for good browsers */
}
and
html>body ul#navlist { /* IE ignores this block as it doesn't
understand the selector */
height: auto; /* Reset the height for good browsers */
}
won't work in Internet Explorer 7.
You also over-code, over-define and over-declare your CSS code and I
would definitely reduce the DOM tree: there are several empty block-
level elements (just for the sake of clearing or ventilating).

Anyway, what's causing the horizontal scrollbar is the combination of
font-style: italic and float: right. This is a known bug in Internet
Explorer 7.

Regards, Gérard
Dec 4 '07 #2
On Dec 4, 7:08 am, GTalbot <newsgr...@gtalbot.orgwrote:
On 2 déc, 14:55, "seaj...@hotmail.com" <seaj...@hotmail.comwrote:
Hi - I've managed to get this site working in Firefox and IE6, without
any horizontal scrolling, but for some reason IE7 is insisting on
horizontal scrolling by quite a wide margin.
Does anyone have any pointers on what might be going on here?
Site is at:http://tinyurl.com/36oznb/
Thanks,
Colin.

Hello Colin,

I checked your webpage and you have at least 5 unneeded CSS rules.

html>body #header { /* IE ignores this block as it doesn't understand
the selector */
height: auto; /* Reset the height for good browsers */}

and
html>body ul#navlist { /* IE ignores this block as it doesn't
understand the selector */
height: auto; /* Reset the height for good browsers */}

won't work in Internet Explorer 7.
I think that's intentional - it's really IE6 that needs to ignore it,
IE7 and other 'good' browsers should do it. The problem it fixes was
that without this you have to set a fixed height which then breaks
when you resize the fonts at the browser if the menus go onto more
than one line.
>
You also over-code, over-define and over-declare your CSS code and I
would definitely reduce the DOM tree: there are several empty block-
level elements (just for the sake of clearing or ventilating).
I know I have a tendency to do this - my CSS is not particularly
strong, and tends to be a mish-mash of things picked up from all over
the place! :-)

When you say "over-code, over-define and over-declare", are they three
different things, or alliteration to emphasise one thing? Would you
mind giving me an example of something you would change to help
streamline it? It'll point me in the right direction!
>
Anyway, what's causing the horizontal scrollbar is the combination of
font-style: italic and float: right. This is a known bug in Internet
Explorer 7.
Thanks for that - some people seem to suggest "overflow: auto;" as a
workaround?

Cheers,
Colin.
Dec 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: mr_burns | last post by:
Hi, Is it possible to disble horizontal scrolling using CSS? I want to try and use two backgrounds, one tiling vertically and part of the body background, which will not force scrolling, but one...
4
by: anna | last post by:
How to tell if a horizontal scrollbar is present? I only want to use scrollTo if horizontal scrollbar is present. window.scrollbars.visibility doesn't specify which scrollbar is present, so it...
2
by: Just D. | last post by:
Does anybody know how to disable the horizontal scrolling on ASPX form? What JAVA script should be used for that? The standard methods don't help and I'm looking for some JAVA function to fire it...
14
by: Dave | last post by:
My web site is not particularly theme-based, but it contains an Art Gallery I'd like to display in a different perspective. I would like to horizontally scroll it, rather than vertically - as if...
3
by: sumit | last post by:
Hi, I made a data grid vertically as well as horizontal scrollable as number of columns are very large!! But when i scroll horizontally then header is not visible as it also gets scrolled...
0
by: Dan Hinsley | last post by:
I just got one of the new Microsoft Mice that has a "tilt wheel" for horizontal scrolling. This works in a listbox in my VB.NET app, but doesn't work for a datagrid that does have a horizontal...
2
by: Eduard | last post by:
I have a ASP.Net datagrid wrap in the following div: <DIV id="divPart2" style="OVERFLOW: hidden">. Another div controls the horizontal scrolling: <DIV id="scroll1" style="OVERFLOW: scroll;...
3
by: lolo | last post by:
hello. happy new year. I'm trying to build a website for my wife and she is adament on having a horizontal thumbnail scrolling div. great. I have a good vertical scrolling thing, but can't...
3
by: j0rd4n | last post by:
I have a user control that needs to allow vertical scrolling but not horizontal scrolling. In the user control's resize event, I need to adjust the size of all the children controls. For this to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.