On Tue, Nov 17, 2009 at 3:21 PM, Mark Henderson <[email protected]> wrote:
> > 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 > Hey Marc, Thanks for getting back to me. I can't really send out the page because it's the section to edit your profile on the site I am working on. I don't want to ask anyone to sign up for something. This is the Doctype that is in place though. It looks ok. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - Jeff ______________________________________________________________________ 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/
