-1
<div style="width: 100%; height: 40px; background-image:url('images/newhom/_Menu_Bg.png'); background-repeat:repeat-x " align="center">       
          <div style="width: 1260px" align="center">         
                  <table cellpadding="0" cellspacing="0" border="0" style="height: 40px;">                 
                        <tr>             
                              <td >                   
                                   1) home                                 
                              </td>                      
                               <td>             
                                   2) about us                
                                </td>
                                 <td>              
                                       ....      
                                 </td>
                         </tr>
                  </table>
          </div>
 </div>

我想隐藏 div style="width: 1260px> 的背景图片。

请给我一些解决方案,

4

1 回答 1

0

给它一个背景颜色

<div style="width: 100%; height: 40px; background-image:url('images/newhom/_Menu_Bg.png'); background-repeat:repeat-x " align="center">       
          <div style="width: 1260px; background-color: #fff;" align="center">         
                  <table cellpadding="0" cellspacing="0" border="0" style="height: 40px;">                 
                        <tr>             
                              <td >                   
                                   1) home                                 
                              </td>                      
                               <td>             
                                   2) about us                
                                </td>
                                 <td>              
                                       ....      
                                 </td>
                         </tr>
                  </table>
          </div>
 </div>
于 2013-08-02T08:48:46.270 回答