Rick Lecoat wrote:
>
> On 12 Jul 2008, at 08:41, Ingo Chao wrote:
>
>> ok, did you try
>>
>> a .extraLinktext {
>> position: absolute;
>> left: -999em;
>> top:-999em;
>> }
>> a:focus .extraLinktext {
>> position: relative;
>> left: 0;
>> top:auto;
>> }
>> That seems to quit the scrollbar in Opera. Can't test the focus thing
>> locally, though.
>
> Perfect Ingo, thank you very much.
>
> Just for my own enlightenment, would you consider this a bug in Opera or
> a flaw in my CSS? Ordinarily of course I'd immediately assume the
> latter, but in this case the fact that the page works fine in all the
> other browsers that I've tested makes me wonder. Still, some browsers
> are more forgiving than others; maybe Opera is simply applying the
> letter of the law whilst others are being lenient?
>
> --
> Rick Lecoat
>
>
Overflow "... affects the clipping of all of the element's content
except any descendant elements ... whose containing block is the
viewport or an ancestor of the element" (CSS 2.1: 11.1.1).
Though the extralinktext is absolutely positioned, the
overflow-container is relatively positioned and establishes a containing
block for the extralinktext. So the last part "except any ..." does not
apply here.
#mainStuff { /*templateStyle.css (Linie 147)*/
...
overflow:auto;
position:relative;
...
}
If that is correct, then overflow should clip the content and should not
add a scrollbar to the browser window to catch the a.p. element.
I think its a bug in Opera.
Ingo
--
http://www.satzansatz.de/css.html
http://www.dolphinsback.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/