Blog Quickstart Documentation Download
Translations of this page?:

Inconsistencies across browsers

Nothing is perfect. I test layouts on current versions of Firefox, Opera, Firefox, Safari, Konqueror, Internet Explorer 6, Internet Explorer 7, and note here discovered inconsistencies.

Height of more than one container in rows left undefined

Description

If you leave size of more than one container in rows udefined, layout may behave strangely in Opera. At best first row will take all available height. At worst it will behave beyond all understanding.

Advice

If your layout behaves strangely first thing to check is if your all rows except at most one have size defined.

Container height defined as percentage

Description

If you define height (size) of you rows using percentages then:

  • in firefox(Gecko), konqueror(KHTML), safari(KHTML) - this means percentage of height of box split into rows
  • in opera, ie - this means percentage of height of box split into containers not already occupied by rows with sizes defined in something else then percents

This also affects rows with unspecified sizes since they have size defined as 100% by default.

Advice

  • Avoid mixing rows with size defined as percentage and rows with size defined using some other units in one rows array.
  • Avoid not specifying height of more than one row in one row array and mixing rows with percentage heights with rows with no size specified.
  • In some situations you can achieve what you want indirectly by adding additional box nested inside one of containers.

Margins defined as percentage

Description

If you define any margins with percentage units very strange behaviour may appear in all browsers, especially ie (from what I saw I guess I should be happy that it doesn't crash totally).

Advice

  • Avoid using percentage for specifying horizontal and vertical margins of boxes.
  • If you need percentage margins then you must specify them with css for html tags placed inside layout.

Discussion

Enter your comment (wiki syntax is allowed):
inconsistencies.txt · Last modified: 2009/05/28 02:14 by brave1979
www.chimeric.de Driven by DokuWiki Recent changes RSS feed redesign of arctic template by LimeLine