Template:Biochem reaction subunit/doc
From Wikipedia, the free encyclopedia
This template creates subunits of a biochemical reaction. For example, three instances of it were used to demonstrate the reaction of catalase.
![]() | This is a documentation subpage for Template:Biochem reaction subunit. It may contain usage information, categories and other content that is not part of the original template page. |
The template is based on the <div> element, rather than tables, and this allows it to be more flexible in its display. For example, "2 × Hydrogen peroxide" is likely to wrap across multiple lines, but this doesn't force all the other headers to expand to match. Some of the formatting is dependent on the user's browser supporting the flexbox layout system; the vast majority do, but you will see slight differences in spacing on legacy browsers, although efforts have been made to provide a fallback.
The second example shows the same code, but constrained to 200 px wide; the content wraps, which is particularly useful for longer pathways and mobile devices.