You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Christopher Cudennec <cu...@web.de> on 2007/01/04 09:39:32 UTC

t:popup renders strangely in IE

Hello everybody,

I would like to use tomahawk's popup. Does anyone of you have problems 
using it with IE? When using it, my popup is rendered strangely: Instead 
of only showing the div containing the code in "popup"-facet, I see 
another div of the same size just some pixels to the upper left. Using 
it with Firefox is not a problem. Do I have to watch out for not 
overwriting CSS-style classes?

Thanks,

Christopher

Re: t:popup renders strangely in IE

Posted by Veit Guna <Ve...@gmx.de>.
Mh, I didn't find another solution, because "position:absolute" of the tomahawk popup component is rendered programmatically into the "style" attribute. AFAIK using two nested "position:absolute" styles makes the 2nd one not to be absolute anymore but relative to its parent div :(.

I'm not too deep into CSS, but I think you can't overwrite the "style" attribute with an external css.

Ideas, anyone?

regards,
Veit


-------- Original-Nachricht --------
Datum: Thu, 04 Jan 2007 11:08:07 +0100
Von: Christopher Cudennec <Sm...@gmx.net>
An: MyFaces Discussion <us...@myfaces.apache.org>
Betreff: Re: t:popup renders strangely in IE

> Thanks for the quick answer. Unfortunately I really need 
> "position:absolute" in my container-div. Is there another solution to 
> the problem?
> 
> Cheers,
> 
> Christopher
> 
> Veit Guna schrieb:
> > Hi.
> >
> > Do you overwriting "position" with "absolute" or "relative" in your div
> containing the popup component? Had similar problems. Try to use
> "position:static" in the parent div to allow the popup to use position:absolute. This
> worked for me.
> >
> > regards,
> > Veit
> >
> >
> > -------- Original-Nachricht --------
> > Datum: Thu, 04 Jan 2007 09:39:32 +0100
> > Von: Christopher Cudennec <cu...@web.de>
> > An: MyFaces Discussion <us...@myfaces.apache.org>
> > Betreff: t:popup renders strangely in IE
> >
> >   
> >> Hello everybody,
> >>
> >> I would like to use tomahawk's popup. Does anyone of you have problems 
> >> using it with IE? When using it, my popup is rendered strangely:
> Instead 
> >> of only showing the div containing the code in "popup"-facet, I see 
> >> another div of the same size just some pixels to the upper left. Using 
> >> it with Firefox is not a problem. Do I have to watch out for not 
> >> overwriting CSS-style classes?
> >>
> >> Thanks,
> >>
> >> Christopher
> >>     
> >
> >   

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Re: t:popup renders strangely in IE

Posted by Christopher Cudennec <Sm...@gmx.net>.
Thanks for the quick answer. Unfortunately I really need 
"position:absolute" in my container-div. Is there another solution to 
the problem?

Cheers,

Christopher

Veit Guna schrieb:
> Hi.
>
> Do you overwriting "position" with "absolute" or "relative" in your div containing the popup component? Had similar problems. Try to use "position:static" in the parent div to allow the popup to use position:absolute. This worked for me.
>
> regards,
> Veit
>
>
> -------- Original-Nachricht --------
> Datum: Thu, 04 Jan 2007 09:39:32 +0100
> Von: Christopher Cudennec <cu...@web.de>
> An: MyFaces Discussion <us...@myfaces.apache.org>
> Betreff: t:popup renders strangely in IE
>
>   
>> Hello everybody,
>>
>> I would like to use tomahawk's popup. Does anyone of you have problems 
>> using it with IE? When using it, my popup is rendered strangely: Instead 
>> of only showing the div containing the code in "popup"-facet, I see 
>> another div of the same size just some pixels to the upper left. Using 
>> it with Firefox is not a problem. Do I have to watch out for not 
>> overwriting CSS-style classes?
>>
>> Thanks,
>>
>> Christopher
>>     
>
>   


Re: t:popup renders strangely in IE

Posted by Veit Guna <Ve...@gmx.de>.
Hi.

Do you overwriting "position" with "absolute" or "relative" in your div containing the popup component? Had similar problems. Try to use "position:static" in the parent div to allow the popup to use position:absolute. This worked for me.

regards,
Veit


-------- Original-Nachricht --------
Datum: Thu, 04 Jan 2007 09:39:32 +0100
Von: Christopher Cudennec <cu...@web.de>
An: MyFaces Discussion <us...@myfaces.apache.org>
Betreff: t:popup renders strangely in IE

> Hello everybody,
> 
> I would like to use tomahawk's popup. Does anyone of you have problems 
> using it with IE? When using it, my popup is rendered strangely: Instead 
> of only showing the div containing the code in "popup"-facet, I see 
> another div of the same size just some pixels to the upper left. Using 
> it with Firefox is not a problem. Do I have to watch out for not 
> overwriting CSS-style classes?
> 
> Thanks,
> 
> Christopher

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer