Mar
8
awarded Caucus
Mar
1
awarded Necromancer
Feb
21
awarded Scholar
Feb
21
accepted The browser seems to have a minimum line-height on this block that contains text. Why?
Feb
19
answered The browser seems to have a minimum line-height on this block that contains text. Why?
Feb
19
awarded Student
Feb
18
comment The browser seems to have a minimum line-height on this block that contains text. Why?
Thanks for the link. In your example from that answer, the minimum line-height on the span matches the line-height of the containing div, as the spec says. If you make the containing div's line-height smaller, then the span can render with a small line-height as we expect it to, as shown in this forked fiddle. And it's very interesting that vertical-align:middle works, but I really am depending on baseline alignment of spans with different text sizes.
Feb
18
comment The browser seems to have a minimum line-height on this block that contains text. Why?
Is this minimum line-height documented anywhere? What is it based on? The font-size of the parent element? For the particular project I'm working on, I can't have display:block because I'm lining several spans up next to each other, and I can't use vertical-align:top because those several spans can sometimes have differing font sizes.
Feb
18
asked The browser seems to have a minimum line-height on this block that contains text. Why?
Jan
11
answered JQuery global isAnimating check to use with Selenium (2)
Dec
5
comment Azure .NET 4.5 support
Based on my own recent experience, the schemaVersion should be updated in both the .cscfg and .csdef files. Also there are two places you need to change 1.7 to 1.8 in the .ccproj file. Furthermore, worker roles don't seem to start properly if they're linked against the 1.7 version of the Azure SDK, so you'll have to update your project dependencies and change the diagnostic listener version in app.config.
Nov
12
comment What quality level does Image.Save() use for jpeg files?
Based on some quick testing, it seems that your original intuition is correct: if you have an Image that was originally jpg and call Save without specifying quality, it'll just dump the original bits out to the file. If you've modified the image in memory, or if you request a particular compression level, it will re-encode the image. If you request a high quality level for an image that came from a low-quality source, you're wasting a lot of space trying to very accurately describe all of the artifacts introduced by the original compression.
Jul
11
awarded Yearling
Apr
25
comment C#: Enum.IsDefined on combined flags
You might also want to check for the character '-', since enums can be represented by signed values.
Apr
22
comment How to emulate Event.timeStamp
@giorgiga It's capture-phase on the global window object, so the only things that could get executed before it are other capture-phase event listeners that were already defined on window, which are pretty rare.
Apr
20
answered How to emulate Event.timeStamp
Mar
20
awarded Supporter
Jan
8
answered HMC SHA1 hash - Java producing different hash output than C#
Jan
4
comment JavaScript RunTime Error : appendChild() - Unexpected call to method or property in IE8
Input elements are always self-closing and can't have children, as far as I know. It sounds like you actually want #Combo to be a select element.
Nov
5
comment Resharper, Javascript: "Use of implicitly declared global variable 'X'"
Does it still complain if you change X to window.X? An alternate idea: in C#, you can wrap a problem line in //resharper disable whatever and //resharper enable whatever (I don't remember exactly), so I expect they'd do something similar for js. Or you could explicitly define the variable in the global scope: var X = window.X || {};.
1 2 3 4 5