> Hey Everyone > > I am finding an IE bug that seems odd. I have a div with two inputs inside > of it. the div is floating right and one of the inputs is floating left and > the other right to create some space. here's what it looks like > > <div class="float:right"> > <input class="float:left" /> > <input class="float:right" /> > </div> > > This works fine everywhere but in IE. It stretches the containing div to > 100% width. So I have to add a set width to make it play nice. For some > cases I am not going to want to add a width. Does anyone know what's causing > this? > > Thanks in advance. > > - Jeff
Hi Jeff, Probably going to need to see more than just that snippet of code. However, one reason IE doesn't shrink-wrap - which is what you are seeing in other browsers - is because of an incomplete or no doctype. So, what's the doctype you are using?? HTH Mark ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
