473,326 Members | 2,175 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,326 software developers and data experts.

FF shows horizontal scrollbar, other browsers don't

Jsp
I created a vertically scrolling div. On initial rendering, Firefox
shows a horizontal scrollbar in this div, over the complete width.
Resizing the width of the window/viewport makes the horizontal scrollbar
disappear and never come back again, because the content is "liquid".
Resizing the window/viewport vertically, makes the scrollbar come back
again.
IE and Opera don't show this behaviour.

Page: http://www/lahaina.nl/index.htm
CSS: http://www.lahaina.nl/lahainatitel.css
Both HTML as CSS validate.

Since I normally tend to "believe" FF, can I modify the CSS so that the
initial rendering doesn't show the horizontal scrollbar?

Thanks,
Jsp (new in this group)
Jul 21 '05 #1
5 11167
Jsp
Jsp wrote:
I created a vertically scrolling div. On initial rendering, Firefox
shows a horizontal scrollbar in this div, over the complete width.
Resizing the width of the window/viewport makes the horizontal scrollbar
disappear and never come back again, because the content is "liquid".
Resizing the window/viewport vertically, makes the scrollbar come back
again.
IE and Opera don't show this behaviour.

Page: http://www/lahaina.nl/index.htm
CSS: http://www.lahaina.nl/lahainatitel.css
Both HTML as CSS validate.

Since I normally tend to "believe" FF, can I modify the CSS so that the
initial rendering doesn't show the horizontal scrollbar?

Thanks,
Jsp (new in this group)

Sorry, typo in URL. This one works.
Page: http://www.lahaina.nl/index.htm
Jul 21 '05 #2
Jsp <no****@nomail.nl> wrote:
I created a vertically scrolling div.
You'd do well to get rid of it, they are a usability nuisance.
On initial rendering, Firefox
shows a horizontal scrollbar in this div, over the complete width.


A FF quirk, nothing you can do about it.

--
Spartanicus
Jul 21 '05 #3
Jsp wrote:
Jsp wrote:
I created a vertically scrolling div. On initial rendering, Firefox
shows a horizontal scrollbar in this div, over the complete width.
Resizing the width of the window/viewport makes the horizontal
scrollbar disappear and never come back again, because the content is
"liquid".
Resizing the window/viewport vertically, makes the scrollbar come back
again.
IE and Opera don't show this behaviour.

Since I normally tend to "believe" FF, can I modify the CSS so that
the initial rendering doesn't show the horizontal scrollbar?

Thanks,
Jsp (new in this group)


Sorry, typo in URL. This one works.
Page: http://www.lahaina.nl/index.htm


Did you try setting overflow-x to hidden?

div.inhoud {
float: left;
padding-top: 1em;
font-size: small;
margin-left: 1ex;
border-bottom: 1px solid black;
padding-bottom: 1ex;
overflow-x: hidden;
overflow-y: auto;
}

Mike
Jul 21 '05 #4
Jsp
mscir wrote:
Jsp wrote:
Jsp wrote:
I created a vertically scrolling div. On initial rendering, Firefox
shows a horizontal scrollbar in this div, over the complete width.
Resizing the width of the window/viewport makes the horizontal
scrollbar disappear and never come back again, because the content is
"liquid".

Page: http://www.lahaina.nl/index.htm

Did you try setting overflow-x to hidden?

div.inhoud {
float: left;
padding-top: 1em;
font-size: small;
margin-left: 1ex;
border-bottom: 1px solid black;
padding-bottom: 1ex;
overflow-x: hidden;
overflow-y: auto;
}

Mike


Thanks, I tried that, but:
setting overflow-x and -y removes both scrollbars in FF and makes the
content mix with the rest of the page. Overflow-x and -y seem to be
non-standard IE-specific attributes, not in CSS2.

Jsp
Jul 21 '05 #5
Jsp
Spartanicus wrote:
Jsp <no****@nomail.nl> wrote:

I created a vertically scrolling div.

You'd do well to get rid of it, they are a usability nuisance.

Ok, hadn't considered that angle. I'll think about an alternative for
it. Thanks.

Jsp
Jul 21 '05 #6

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

Similar topics

4
by: Cezar | last post by:
Hi! I've logo on the left top corner and on the right top corner is menu, select language and date. This must looks like: Logo Menu#1 Menu #2 Select Language Date In IE6.0, 5.5...
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...
4
by: Generale Cluster | last post by:
Hello, where can I find an horizontal scroller where I can set the scrolling direction from left to right? Thank you -- elimina unsampdoriano per rispondere via email
0
by: Lundy | last post by:
greetings, The listbox control on my aspx page has a vertical scrollbar. But some of the text extends beyond the right limit of the listbox. I don't see a horizontal scrollbar, and I don't...
10
by: Crazy Cat | last post by:
Hi, I am dynamically creating datagridviews for my application, then filling them with data from a 30 row datatable, and everything seems to work great with one exception. My horizontal...
14
by: Michael Weis | last post by:
Hello all, as a non-professional in these things, I searched for this topic but found no satisfying answer: I have to create a site with 3 frames. (Please no diskussion about the sense of...
1
by: malpani.abhijit | last post by:
Hi, I am having a ListView component in my WinForm, when i add some images into it, it gives me a vertical scroll bar. What i want is, the horizontal scrollbar instead of vertical. Is there any...
0
by: bipi | last post by:
Now, I have treeview with Scrollbar properties is true, it mean that I will have two scroll (vertical scrollbar and horizontal scrollbar) . So, I don't want to use horizontal scrollbar, I want to...
2
by: seajays | last post by:
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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: 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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.