div内容比较长的话怎样设置
外面的div固定了一个宽度 
 里面的div显示内容   
 现在我想要的效果是 
 内容太长的话不换行直接撑大外面的div 
 用overflow:visible的话ie可以ff就不行 
 该怎么做啊
------解决方案-------------------- <!DOCTYPE html PUBLIC  "-//W3C//DTD XHTML 1.0 Transitional//EN "  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">  
  <html xmlns= "http://www.w3.org/1999/xhtml ">  
  <head>  
  <meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />  
  <title> 无标题文档 </title>  
  <style type= "text/css ">  
 .div{ 
 width:auto!important; 
 width:200px; 
 min-width:200px; 
 border:solid 1px #f00; 
 float:left; 
 } 
  </style>  
  </head>  
  <body>  
  <span>  
  <div class= "div "> dddddddddddddddddddddddddddddddddddddddddd </div>  
  </span>  
  </body>  
  </html>  
------解决方案--------------------div 
 不设高度,会自动延长 
 如果要输入时延长则要JS做
------解决方案--------------------.div1{ 
 width:200px; 
 white-space: nowrap; 
 border:solid 1px #f00; 
 }试试