html - Convert fluid table to div / css -


how can convert 3-column table using divs only? note first , third columns fluid , second (middle) column fixed width.

<table width="100%" border="0" cellspacing="0" cellpadding="0">   <tr>     <td style="background-color:#ccc;">left</td>     <td style="width:940px; background-color:#0cf;">middle</td>     <td style="background-color:#ff9;">right</td>   </tr> </table> 

this article explains how accomplish div-based layout desire: http://www.barelyfitz.com/screencast/html-training/css/positioning/

essentially, make container div 100% width, position 3 "column" divs within it.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -