[development] Fastest way to make the content area's width stretch to the size of my content?
Justin Ellison
justin at techadvise.com
Mon Feb 14 14:37:22 UTC 2011
On Mon, Feb 14, 2011 at 12:23 AM, Carl Wiedemann
<carl.wiedemann at gmail.com>wrote:
> As the width of the containing element decreases, table width minimally
> conforms with respect to the cell contents.
>
> This is problematic on many sites, even drupal.org (
> http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6hangs over the right column, for example)
>
> Consider using a different theme with a fluid width to better support this
> content, decrease table font size/margins/padding, or revise table content.
>
I haven't had the time to dig in to see how they did it, but the way that
Lullabot does their code blocks on their redesign is both cool and
functional. For an example, check out
http://www.lullabot.com/articles/querying-slave-database-with-views and
mouseover the code snippet that is wider than the content column.
It's a bit of apples to oranges (table vs code tags), but depending on the
content within the table it might be a possible solution.
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110214/199fe657/attachment.html
More information about the development
mailing list