| 
 Posted by Asterbing on 02/17/06 12:04 
Hello, 
 
A simple page using a simple table with a width=90%. How to do this  
table doesn't expand and overflow the page width when the cell content  
is a long word without space, but simply stay at 90% of current browser  
width ? 
 
EXAMPLE : 
 
<html><head></head><body>   
The first table overflow while second one not ; both with width=90%. 
<br><br> 
<table border='1' width='90%' cellspacing='0' cellpadding='3'><tr><td> 
CecstmeagedauxAlbDELesutquinemetcemesseqnvuedecruneentreexementlarevan 
reediclencheugblerorgelljqsjjGTukdkfksjghdELesutquinemetcemesseqnentr 
eexementlarevanreediclencheugblerorgellLesutquinemetcemesseqnvuedecru 
neentreexementlarevanreediclencheugblerorgelljqsjjGTukdkfksjghdELesu 
tquinemetcemesseqnentreexembDELesutquinemetcemesseqnvuedecruneentreexe 
mentlarevanr. 
</td></tr></table> 
<br> 
<table border='1' width='90%' cellspacing='0' cellpadding='3'><tr><td> 
Cecstmeageda uxAlbDE Lesutquinemet cemesseqnvuedecrunee  
ntreexementlarevanr eediclencheu gbler orgelljqsjjGTukdkfk  
sjghdELesutquin emetcemes seqnentre exementlarevanre ediclencheu  
gbleror gellLesut quinem et cemesseqnvuede cruneentreexementl arevan  
reediclencheugbleror gelljqsjjGTukdk fksjghdELesutquineme  
tcemesseqnentreex embDELesutquineme tcemesseqnvued ecruneent r  
eexementla re va n r. 
</td></tr></table> 
</body></html>
 
  
Navigation:
[Reply to this message] 
 |