[ 
http://issues.apache.org/jira/browse/JS2-459?page=comments#action_12362088 ] 

Randy Watler commented on JS2-459:
----------------------------------

I follow the logic in creating different style classes per column for margins 
and padding, Might be worth keeping the standard-columns.css files around for 
padding and margins. Would make the logic simpler in the layout code and 
provide more customization options. However, I think we need to specify how 
many columns are expected to properly build the padding rules. Perhaps 
something like portal-layout-column-1-two, (read "first column of two"). Better 
yet: portal-layout-column-left, portal-layout-column-middle, 
portal-layout-column-right. Also, we might need top, middle, and bottom 
variants. Using classes can get compilcated quickly.

Also, I am trying to figure out how to name the classes when nesting is added 
to the mix. I have not figured out whether to ignore the nesting or provide new 
class names: (i.e. portal-layout-column-right-middle).

Yes, using divs and styles can be powerful, but complexity is certainly not 
hidden or managed well with CSS layout IMHO. Oh well... people seem to be used 
to it :-).

 

> TwoColumns2575 and TwoColumnsSmallLeft don't work
> -------------------------------------------------
>
>          Key: JS2-459
>          URL: http://issues.apache.org/jira/browse/JS2-459
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Layout
>     Versions: 2.0-FINAL
>  Environment: Tomcat 5.0.28
> Linux
>     Reporter: Andre Michel Gauthier
>     Assignee: Randy Watler
>  Attachments: warfare-scam.psml
>
> When Selecting either TwoColumns2575 or  TwoColumnsSmallLeft as layouts for a 
> page I still get a 50/50 two column page. I have specified the layout in the 
> psml page and performed a complete redeployment of my portal (including db).
> The page source contains the following section which I would expect to state 
> the exact layout I have requested so that the css can format the columns 
> appropriately.
> <!--  END: layout/html/gserv/decorator.vm -->
>    
>  <div id="js_scam_1_" class="portal-layout portal-layout-TwoColumns">
>                         
>         
>                 <div id="column-1" class="portal-layout-column" >
>               <!--  <div class="portal-layout-column-gutter"> --> 
>                    
>                               
>                          <div class="portal-layout-cell" >
>                                                  
>                                        
> <!-- Begin: Fragment: scam-101 Decoration: ${decoratorId} -->

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to