Login  Register

Re: Dev - IE6 Layout Issues

Posted by Vinay Agarwal on May 28, 2006; 11:12pm
URL: http://ofbiz.116.s1.nabble.com/Dev-IE6-Layout-Issues-tp168249p168254.html

David,

I don't believe the tables and css layout are mutually exclusive. Tables are
part of xhtml strict. I haven't read the Zen book but if that is what it
says, then I would find another book.

I was able to solve my most OFBiz layout problem on IE6 simply by switching
my main decorator to a table. I suspect many other users of OFBiz would
rather use tables than have pages rendered poorly by IE6.

The reality of today's world is that 50% users use IE (mostly IE6). This
statistics is further skewed toward IE6 if you only consider non-tech users.
And certain layouts, whether they are accepted by xhtml or not, just don't
render well in IE6.

Wouldn't it be best for OFBiz to use a subset of layout constructs that meet
both the desired doctype standard as well as the practical aspects of
rendering on popular browsers?

Regards,
Vinay Agarwal

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of David E. Jones
Sent: Sunday, May 28, 2006 1:14 PM
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - IE6 Layout Issues


Vinay,

A couple of thoughts on this...

1. the current direction for the ecommerce templates is to move toward
CSS-based layouts, so we won't be going back to the old table layouts; the
goal is to get something in place that uses the patterns described in the
book "The Zen of CSS Design" and a good example of this stuff is here:

http://www.csszengarden.com/

2. the current CSS conversion is still not complete; it would be _great_ to
have some help with this as so far I'm the only one that has pushed this
along, though a few people have submitted little fixes over time and such
(and even those are quite valuable and needed now...)

So, if you'd like to get involved with this, please do so! That would be
great. You can submit patches for this just like for anything else using the
Jira issue tracker.

-David



Vinay Agarwal wrote:

> Hello,
>
> I started a location on wiki for some of my experiences with fixing
> IE6 layout issues. Here's what it has so far
>
> Regards,
>
> Vinay Agarwal
>
>
>         Float simply doesn't work well
>
>
>         I converted the main-decorator from div/float layout to tables
>         so that it displays consistently on all browsers.
>
>
>         Misaligned on IE6 (from
>        
> ecommerce/webapp/ecommerce/catelog/minilastviewedcategories.ftl)
>
> <div style="float: right;"> <a
> href="<@ofbizUrl>clearLastViewed</@ofbizUrl>"
> class="lightbuttontextsmall">${uiLabelMap.CommonClear}
> <http://ofbizwiki.go-integral.com/Edit.jsp?page=uiLabelMap.CommonClear
> ></a> </div> <div
> class="boxhead">${uiLabelMap.EcommerceLastCategories}</div>
>
>
>         Aligned well on all browsers
>
> <div class="boxhead"><div style="float: right;"> <a
> href="<@ofbizUrl>clearLastViewed</@ofbizUrl>"
> class="lightbuttontextsmall">${uiLabelMap.CommonClear}
> <http://ofbizwiki.go-integral.com/Edit.jsp?page=uiLabelMap.CommonClear
> ></a> </div> ${uiLabelMap.EcommerceLastCategories}</div>
>
>  
>
>
> ----------------------------------------------------------------------
> --
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev