Alastair Campbell wrote: > A friend came across a strange bug that must have come up before, but > I can't find anything on it. > > If you have an input in a container, both have a width, and the > container has a left-margin, IE7 puts it out of the container. It was > quite a complex site, so I put a cut down version up here: > http://alastairc.ac/testing/IE7_bugs/funk-button_bug.html > > It doesn't seem to be a hasLayout issue, is there another type of > issue I've missed? > > Kind regards, > > -Alastair > > (On digest, please CC me if you reply.)
Strange. Seems to be a similar problem in IE6, but the wrapper is expanding there. Separating the input from its parent ( with a solid span) seems to help: <div class="input-button"> <!--[if IE]><span style="zoom:1"></span><![endif]--> <input type="submit" name="submit" class="submit" value="Send" /> </div> but how ugly that would be. Regards, Ingo -- http://www.satzansatz.de/css.html ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/