On 3/3/07, Chris Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I found that breaking up child elements of <div> with any white space > would > cause an extra gap between them in IE7. For example: > > <div> > <span class="span_link"><a href="http://www.msn.com" > >Hello</a></span> > <span class="span_link"><a href="http://www.msn.com" > >Hello</a></span> > <span class="span_link"><a href="http://www.msn.com" > >Hello</a></span> > </div> > > If I put the above three <span>'s on the same line, the gap disappears. > I'd > like to keep the <span>'s on there own lines for easy reading/maintenance > while not seeing the gap. Is this a known issue? Is there a recommended > way > to workaround this?
Well I did throw a long shot.. not sure though, tested in both IE 6 and FF 2.0.0.1, and works.. .span_link { float: left; } Jiju Thomas Mathew http://www.php-trivandrum.org ______________________________________________________________________ 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/