You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Ate Douma (JIRA)" <je...@portals.apache.org> on 2005/08/24 15:17:18 UTC

[jira] Created: (JS2-349) IFramePortlet doesn't display properly with a css based layout on IE6 and causes column wrapping

IFramePortlet doesn't display properly with a css based layout on IE6 and causes column wrapping
------------------------------------------------------------------------------------------------

         Key: JS2-349
         URL: http://issues.apache.org/jira/browse/JS2-349
     Project: Jetspeed 2
        Type: Bug
  Components: Demo Portlets, Layout, Other  
    Versions: 2.0-M4    
 Environment: WindowsXP, IE6.0
    Reporter: Ate Douma
 Assigned to: Ate Douma 
     Fix For: 2.0-M4


The IFramePortlet demo shown on the guest default page isn't properly displayed on IE6 when using a css based layout.
Note: Firefox doesn't have this problem!

The iframe element is rendered (from the web-content component o.a.j.portlet.IFrameGenericPortlet) with a width="100%" and height="100%".
But IE6.0 cannot handle that when it is wrapped in a div with our current css based layout.
First of all, it doesn't display *any* content anymore currently.
Seeminly IE cannot handle this within a div (css compliance is clearly not the strongest point of IE).
If you hardcode a width like 600px, then it shows its content again but still only one column is displayed when that "overflows" the column width.
Luckily, I found an easy fix: wrapping the iframe within an table does the trick ;-)
  <table><tr><td><iframe>....</iframe></td></tr></table>

I'll update the IFrameGenericPortlet doing that.

Together with the fix for JS2-348, this should solve the current css column layout problems. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-349) IFramePortlet doesn't display properly with a css based layout on IE6 and causes column wrapping

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-349?page=all ]
     
Ate Douma resolved JS2-349:
---------------------------

    Resolution: Fixed

Done.
Beside the IFrameGenericPortlet I also corrected the IFramePortlet.
In both, I removed/emptied the HEIGHT default value "100%".
So, now you just don't need to specify it anymore in portlet.xml / prefs.

> IFramePortlet doesn't display properly with a css based layout on IE6 and causes column wrapping
> ------------------------------------------------------------------------------------------------
>
>          Key: JS2-349
>          URL: http://issues.apache.org/jira/browse/JS2-349
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Demo Portlets, Layout, Other
>     Versions: 2.0-M4
>  Environment: WindowsXP, IE6.0
>     Reporter: Ate Douma
>     Assignee: Ate Douma
>      Fix For: 2.0-M4

>
> The IFramePortlet demo shown on the guest default page isn't properly displayed on IE6 when using a css based layout.
> Note: Firefox doesn't have this problem!
> The iframe element is rendered (from the web-content component o.a.j.portlet.IFrameGenericPortlet) with a width="100%" and height="100%".
> But IE6.0 cannot handle that when it is wrapped in a div with our current css based layout.
> First of all, it doesn't display *any* content anymore currently.
> Seeminly IE cannot handle this within a div (css compliance is clearly not the strongest point of IE).
> If you hardcode a width like 600px, then it shows its content again but still only one column is displayed when that "overflows" the column width.
> Luckily, I found an easy fix: wrapping the iframe within an table does the trick ;-)
>   <table><tr><td><iframe>....</iframe></td></tr></table>
> I'll update the IFrameGenericPortlet doing that.
> Together with the fix for JS2-348, this should solve the current css column layout problems. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-349) IFramePortlet doesn't display properly with a css based layout on IE6 and causes column wrapping

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-349?page=comments#action_12319846 ] 

Ate Douma commented on JS2-349:
-------------------------------

Some further adjustments are needed to get it fully working.
- the wrapping table needs to have width="100%" set 
- the iframe should have a specific height specified (*not* a percentage) or no height at all

The height value currently is specified as 100% in the demo app portlet.xml as a preference.
I'm going to remove that. 
Furthermore, I'll add preference SCROLLING with value AUTO so we get a nice vertical scroll bar in default layout too.

> IFramePortlet doesn't display properly with a css based layout on IE6 and causes column wrapping
> ------------------------------------------------------------------------------------------------
>
>          Key: JS2-349
>          URL: http://issues.apache.org/jira/browse/JS2-349
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Demo Portlets, Layout, Other
>     Versions: 2.0-M4
>  Environment: WindowsXP, IE6.0
>     Reporter: Ate Douma
>     Assignee: Ate Douma
>      Fix For: 2.0-M4

>
> The IFramePortlet demo shown on the guest default page isn't properly displayed on IE6 when using a css based layout.
> Note: Firefox doesn't have this problem!
> The iframe element is rendered (from the web-content component o.a.j.portlet.IFrameGenericPortlet) with a width="100%" and height="100%".
> But IE6.0 cannot handle that when it is wrapped in a div with our current css based layout.
> First of all, it doesn't display *any* content anymore currently.
> Seeminly IE cannot handle this within a div (css compliance is clearly not the strongest point of IE).
> If you hardcode a width like 600px, then it shows its content again but still only one column is displayed when that "overflows" the column width.
> Luckily, I found an easy fix: wrapping the iframe within an table does the trick ;-)
>   <table><tr><td><iframe>....</iframe></td></tr></table>
> I'll update the IFrameGenericPortlet doing that.
> Together with the fix for JS2-348, this should solve the current css column layout problems. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org