Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Table width in percent overflow when no-space content

Thread Tools

Table width in percent overflow when no-space content

Posts: n/a

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 ?


The first table overflow while second one not ; both with width=90%.
<table border='1' width='90%' cellspacing='0' cellpadding='3'><tr><td>
CecstmeagedauxAlbDELesutquinemetcemesseqnvuedecrun eentréeexementlarevaén
éreediéclencheugblerorgelljqsjjGTukdkfksjghdELesut quinemetcemesseqnentré
eexementlarevaénéreediéclencheugblerorgellLesutqui nemetcemesseqnvuedecru
neentréeexementlarevaénéreediéclencheugblerorgellj qsjjGTukdkfksjghdELesu
tquinemetcemesseqnentréeexembDELesutquinemetcemess eqnvuedecruneentréeexe
<table border='1' width='90%' cellspacing='0' cellpadding='3'><tr><td>
Cecstmeageda uxAlbDE Lesutquinemet cemesseqnvuedecrunee
ntréeexementlarevaénér eediéclencheu gbler orgelljqsjjGTukdkfk
sjghdELesutquin emetcemes seqnentrée exementlarevaénére ediéclencheu
gbleror gellLesut quinem et cemesseqnvuede cruneentréeexementl arevaéné
reediéclencheugbleror gelljqsjjGTukdk fksjghdELesutquineme
tcemesseqnentréeex embDELesutquineme tcemesseqnvued ecruneent r
éeexementla re va éné r.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
picture width decides table column width David Basford HTML 3 09-30-2007 10:49 PM
Cell width error when containing variable width content HTML 0 01-26-2006 03:37 PM
Textbox width scaling to width of data not width of page? AndrewF ASP .Net 1 10-10-2005 04:38 PM
Table width and columns width kris HTML 11 11-18-2003 06:49 AM
Re: resized image in table extends table width to original image width Sean Jorden HTML 1 08-19-2003 08:59 AM