2010-07-06 10 views

Répondre

1

spécifier certains width, height à DIV puis overflow:auto;

overflow:auto; 
width:500px; 
height:400px; 

vérifierons ce code

<style type="text/css"> 
    .pqr{ 
    overflow:auto; 
    width:500px; 
    height:400px; 
    } 
</style> 
<div class="pqr"> 
    <table width="600px" border="1"> 
    <tr> 
     <td> 
    Test 
     </td> 
    </tr> 
    </table> 
</div> 
+0

remerciements pour votre réponse Salil. J'ai essayé "overflow: auto", cela n'a pas fonctionné, à la fois dans FF et IE: C Je vais poster mon code leter. – idiotgenius

+0

@idiotgenius: - vérifier ma version éditée – Salil

+0

Oui! cela fonctionne.Mais la largeur de ma table est définie sur

Test
idiotgenius