Daniel Danilatos wrote: > Inferring orthogonal behaviour from line height or similar properties > seems kinda hacky and potentially leading to all kinds of corner cases. > I think it's clearer and simpler to have a property that defines exactly > the desired behaviour (keep the block element open) and leave things > like line height and min height to their independent meanings, without > having to complicate them with extended interpretations Could you define the meaning of "the block element open"? When element is "open" what height/width it should have? > >> On 10 Feb 2010 21:30, "Patrick Garies" <pgaries@fastmail.us >> <mailto:pgaries@fastmail.us>> wrote: >> >> On 2010-02-10 7:59 PM, Ojan Vafai wrote: >> > >> > Does this work? You want the height to be the line-heig... >> >> I don't know of any way to get the line-height, but you can estimate >> (e.g., |1.2em|) or explicitly specify it then match the height to it. >> >> >> >> > Also, what if you want some divs to be <1em? >> >> Use a |class| attribute? > -- Andrew Fedoniouk. http://terrainformatica.comReceived on Thursday, 11 February 2010 08:25:51 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:43 UTC