mazman13 Posted September 28, 2008 Share Posted September 28, 2008 I'm trying to make a table with CSS. It will have to col. and 5 rows. The left col. will have a picture and the right will have a descrip. What's the best way to do this? Quote Link to comment Share on other sites More sharing options...
AndyB Posted September 28, 2008 Share Posted September 28, 2008 Don't use CSS to make a table - use the HTML table tags. Don't use table tags to make a layout - use tables to display tabular data. Quote Link to comment Share on other sites More sharing options...
mazman13 Posted September 28, 2008 Author Share Posted September 28, 2008 Ok cool. Thanks. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted September 28, 2008 Share Posted September 28, 2008 Sure you can. It simply contradicts the very purpose of css though. Quote Link to comment Share on other sites More sharing options...
Lambneck Posted September 28, 2008 Share Posted September 28, 2008 CSS #dwrap div { width: 100px; height: 100px; border: 1px solid #FF00FF; float: left; } HTML <div id="dwrap"> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> <div>Table</div> </div> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.