Forum Moderators: not2easy

Message Too Old, No Replies

Alternative to tables?

tables css div

         

thewpfan

2:40 pm on Nov 9, 2010 (gmt 0)

10+ Year Member



We have so many tables that we use in this site (http://giantmango.com/events-2), but it is generating problems with wrapping in the blog entries.

Is there a better solution for tabular formatting in css/html?

milosevic

10:35 am on Nov 11, 2010 (gmt 0)

10+ Year Member



Looking at your site, tables are probably what you want where you are using them. Most likely you just need to make some tweaks to CSS/HTML that controls the tables.

caffinated

2:36 am on Nov 12, 2010 (gmt 0)

10+ Year Member



There appears to be no reason why you cannot achieve your formating using a tableless layout there. It is difficult to see what you problem is (excuse me, I don't know your language-characters, so it may be very obvious to you). The lines are wrapping though. Maybe more detail on your issue would get a more detailed response.

On a separate point, I did notice higher up the page, you have a div with a class of marginbottom and in your css margin-bottom is specified as 2.5em, however, the only content for that div is an anchor which is floated and no clear to follow, so your bottom margin is ignored. You could add something like
<br class="clear" />
after the anchor and in your css use
.clear {clear:both}
as a generic clear.