Julius Posted November 15, 2011 Share Posted November 15, 2011 Hi, Can you please help me and write, how should div style look like if i want four columns: first should be wider than others because it will contain forum name and description, second will hold just 3 digits, third will hold about four or five digits, and last will hold just last message author, topic name and date when the last post was added in that forum. Thank you Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted November 15, 2011 Share Posted November 15, 2011 If you're displaying tabular data, use tables. That's what they're for. Quote Link to comment Share on other sites More sharing options...
Julius Posted November 15, 2011 Author Share Posted November 15, 2011 but i have seen quite many articles saying that CSS > tables. are they wrong? Quote Link to comment Share on other sites More sharing options...
floridaflatlander Posted November 15, 2011 Share Posted November 15, 2011 I use tables but someone on here was using list and it looked good, maybe those with experience can chime in. It's been several months since I've seen the style but I think the basic setup was something like this <ul> <li style="wide"></li> <li style="content"></li> <li style="content"></li> <li style="content"></li> <li style="content"></li> </ul> Using display block, floats and widths(I think) Quote Link to comment Share on other sites More sharing options...
floridaflatlander Posted November 15, 2011 Share Posted November 15, 2011 but i have seen quite many articles saying that CSS > tables. are they wrong? They are old school for general lay out of web pages. But we're talking about forms for a forum right? Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted November 15, 2011 Share Posted November 15, 2011 Tables should never be used for LAYOUT. The "CSS > Tables" line is referring to layout. If you want a left navigation and a header image, don't use tables for that. If you want to display a table...use a table. 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.