You are here: Re: PHP column widths not setting right. « PHP Programming Language « IT news, forums, messages
Re: PHP column widths not setting right.

Posted by Lars Eighner on 09/21/07 11:04

In our last episode,
<1190236000.599518.310010@r29g2000hsg.googlegroups.com>, the lovely and
talented M@ broadcast on comp.lang.php:

> Can anyone tell me why I can't set the column widths? The message
> field is huge, so the rest of the columns are fairly cramped and word
> wrapped. I'd really like to be able to set my columns so that the
> last column takes up less, and wraps more.

> Any ideas?

This is an HTML/CSS problem, not php. I suggest you make a sample html
document and stylesheet with static data typical of your values. Then you
can experiment with the markup and styling without the complication of the
php. WIDTH as an attribute of TD is deprecated and in particular,
percentages within TABLE have be treated differently by different browsers
in the past (and perhaps still are). Just about all of this is invalid in
XHTML 1.1, so much will depend on the doctype you are declaring and your
stylesheet.

--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 487 days to go.
What do you do when you're debranded?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация