FF / Opera的CSS问题 - 所有的Scrollbar问题 [英] CSS problem with FF/Opera - Scrollbar problem with all
问题描述
在为本地桥牌俱乐部设计新网站时,我偶然发现了我的css代码问题。\\ b
问题。有趣的事实是,我复制了几年前其他网站上的代码来自另一个网站,并且在那个页面上它显示正确显示
。
>
首页的东西,由于一些奇怪的原因我无法理解,并没有显示在我对Firefox中页面内容的div元素中显示
br />
和Opera;其他页面显示在正确的div内。这个问题不会随着IE或Avant发生
。
但是,我的第二个问题与滚动条有关。
div-element。溢出在css中设置为自动,这意味着必要时会显示
。它不是胶水到
div的右边缘;根据所查看的页面,它可能几乎出现在任何地方。这个
在我测试过的所有四个浏览器中都很明显。
我已经被这几天困住了,并且可以弄清楚什么是错误的b $ b。如果有人可以看看,我会很感激。 :)
该网站位于
http://koti.mbnet.fi/b001/uusi/
和样式表位于
http://koti.mbnet.fi/b001/uusi/layout/b001_styles.css
In designing a new site for the local bridge club, I''ve stumbled upon a
problem with my css code. Interesting fact is that I copied the code from
another website an aquaintance did a few years back, and on that page it
displays correctly.
The front page stuff, for some strange reason I can''t fathom, doesn''t
display in the div-element I have for the contents of the page in Firefox
and Opera; other pages show up inside the correct div. This problem does not
occur with IE or Avant.
However, I have a second problem to do with the scroll bar in said
div-element. The overflow is set to automatic in the css, which means it
shows up when necessary. What it does not is glue to the right edge of the
div; depending on the page viewed it might appear just about anywhere. This
is apparent with all four browsers I''ve tested with.
I''ve been stumped with this for a few days now, and can''t figure out what is
wrong. If anyone could take a look, I''d appreciate it. :)
The site is at
http://koti.mbnet.fi/b001/uusi/
and the style-sheet is at
http://koti.mbnet.fi/b001/uusi/layout/b001_styles.css
推荐答案
Rioshin an''Harthen写道:
Rioshin an''Harthen wrote:
在设计时当地桥牌俱乐部的新网站,我偶然发现了我的css代码问题
a问题。有趣的事实是,我复制了几年前aquaintance所做的另一个网站上的
代码,并在
页面上正确显示。
In designing a new site for the local bridge club, I''ve stumbled upon
a problem with my css code. Interesting fact is that I copied the
code from another website an aquaintance did a few years back, and on
that page it displays correctly.
其他网站是否尝试使用滚动div?错误的选择,imo。
Does that other site attempt to use scrolling divs? Bad choice, imo.
首页的东西,由于一些奇怪的原因我无法理解,不会显示
在div元素中,我有页面内容在
Firefox和Opera;其他页面显示在正确的div内。这个
问题不会发生在IE或Avant上。
但是,我的第二个问题与滚动条有关。
div-element。溢出在css中设置为自动,这意味着
在必要时显示。什么不是胶水到右边缘?
div的边缘;根据所查看的页面,它可能只是在任何地方出现
。对于我测试过的所有四个浏览器来说,这是显而易见的。
The front page stuff, for some strange reason I can''t fathom, doesn''t
display in the div-element I have for the contents of the page in
Firefox and Opera; other pages show up inside the correct div. This
problem does not occur with IE or Avant.
However, I have a second problem to do with the scroll bar in said
div-element. The overflow is set to automatic in the css, which means
it shows up when necessary. What it does not is glue to the right
edge of the div; depending on the page viewed it might appear just
about anywhere. This is apparent with all four browsers I''ve tested
with.
它看起来好像你有一个相当标准的双栏布局。
而不是通过滚动部分来惩罚访客* *
页面,我建议不要使用滚动div。
没有理由。
It looks to me as if you have a rather standard two-column layout.
Rather than penalize the visitors with scrolling sections *within* the
page, I''d recommend not using a scrolling div. There is no reason for
it.
我已经被这几天困住了,而且不能弄清楚
出了什么问题。如果有人可以看看,我会很感激。 :)
该网站位于
http://koti.mbnet.fi/b001/uusi/
和样式表位于
http://koti.mbnet.fi/b001/uusi/layout/b001_styles.css
查看几个好的双列布局,并使用它们。
http://benmeadowcroft.com/webdev/css...ft-column.html
http://bluerobot.com/web/layouts/layout1.html
-
-bts
-Motorcycles无视重力;汽车只是吮吸
Have a look at a couple good two-column layouts, and use them.
http://benmeadowcroft.com/webdev/css...ft-column.html
http://bluerobot.com/web/layouts/layout1.html
--
-bts
-Motorcycles defy gravity; cars just suck
2006-12-11,Rioshin an''Harthen< rh ****** @ hotmail.comwrote:
On 2006-12-11, Rioshin an''Harthen <rh******@hotmail.comwrote:
在为本地桥牌俱乐部设计一个新网站时,我偶然发现了我的css代码的问题。有趣的事实是,我复制了几年前其他网站上的代码来自另一个网站,并且在那个页面上它显示正确显示
。
>
首页的东西,由于一些奇怪的原因我无法理解,并没有显示在我对Firefox中页面内容的div元素中显示
br />
和Opera;其他页面显示在正确的div内。 IE或Avant出现此问题不会产生
。
In designing a new site for the local bridge club, I''ve stumbled upon a
problem with my css code. Interesting fact is that I copied the code from
another website an aquaintance did a few years back, and on that page it
displays correctly.
The front page stuff, for some strange reason I can''t fathom, doesn''t
display in the div-element I have for the contents of the page in Firefox
and Opera; other pages show up inside the correct div. This problem does not
occur with IE or Avant.
我无法理解你对这个问题的描述。我没有IE或
Avant--我希望如果我能看到其中一个页面中的
页面会出现什么问题,但是我不能。
什么是首页的东西,以及哪个div元素应该出现在
中?
I can''t understand your description of the problem. I don''t have IE or
Avant-- I expect it would be obvious what''s wrong if I could look at the
page in one of those, but I can''t.
What''s the "front page stuff", and which div element is it supposed to
be appearing in?
" Ben C" < sp ****** @ spam.eggswrote:
"Ben C" <sp******@spam.eggswrote:
2006-12-11,Rioshin an''Harthen< rh ***** *@hotmail.com写的:
On 2006-12-11, Rioshin an''Harthen <rh******@hotmail.comwrote:
>在为本地桥牌俱乐部设计一个新网站时,我偶然发现了我的css问题。码。有趣的事实是,我复制了另一个网站上的代码,这是几年前的一个水印,并且在那个页面上它显示正确。
首页的东西,对于一些人来说奇怪的原因我无法理解,不会显示在我对Firefox
和Opera页面内容的div元素中;其他页面显示在正确的div内。 IE或Avant不会出现此问题。
>In designing a new site for the local bridge club, I''ve stumbled upon a
problem with my css code. Interesting fact is that I copied the code from
another website an aquaintance did a few years back, and on that page it
displays correctly.
The front page stuff, for some strange reason I can''t fathom, doesn''t
display in the div-element I have for the contents of the page in Firefox
and Opera; other pages show up inside the correct div. This problem does
not
occur with IE or Avant.
我无法理解你对这个问题的描述。我没有IE或
Avant--我希望如果我能看到其中一个页面中的
页面会出现什么问题,但是我不能。
什么是首页的东西,以及哪个div元素应该出现在
中?
I can''t understand your description of the problem. I don''t have IE or
Avant-- I expect it would be obvious what''s wrong if I could look at the
page in one of those, but I can''t.
What''s the "front page stuff", and which div element is it supposed to
be appearing in?
好的,我会尝试一些ascii艺术...如果可能的话,可以使用固定宽度的字体更好地阅读。我有div设置如下:
+ ------------------------ +
|标题|
|语言|
+ ----- + ------------------ +
|导航|页面内容|
| | |
| | |
+ ----- + ------------------ +
使用Firefox和打开网站首页的Opera移动了页面内容中的任何内容。所有div下的div;没有其他页面展示
问题。
如果您点击左侧导航区域中的一个链接
应该正确看到内容;如果你然后返回头版并且
比较两者,差异应该突出。这与网站选择的
语言无关。
Ok, I''ll try with some ascii art... better read with a fixed-width font if
possible. I have divs setup as follows:
+------------------------+
| header |
| language |
+-----+------------------+
| nav | page content |
| | |
| | |
+-----+------------------+
With Firefox and Opera, opening the front page of the site moves whatever is
in the "page content" div under all divs; no other page there exhibits that
problem.
If you click on one of the links in the navigation area to the left you
should see the contents correctly; if you then return to the front page and
compare the two the difference should stand out. This is regardless of the
language chosen for the site.
这篇关于FF / Opera的CSS问题 - 所有的Scrollbar问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!