Reply to Print Preview

Your name:

Reply:


Posted by Bruno on 12/27/05 00:41

Hello!

I have 5 columns of a table: leftleft, left, center, right and rightright:
The columns left and right are 3 px width, the width of the columns
leftleft and rightright is unknown. I used a "trick" for the center column
to push the colums leftleft and rightright to the edges of the screen:
width=100% for the center column.

<table width=100%>
<tr>
<td>$leftleft</td>
<td width='3px'></td>
<td width='100%'>$center</td>
<td width='3px'></td>
<td>$rightright</td>
</tr>
</table>

This "nonsense" width calculation works fine for most browsers. However the
Print Preview will cut out some of the right text so we will not see the
whole page.

I can not set the width of the columns leftleft and rightright to a
meaningful value because I want them to be dynamic in width depending on the
content of $leftleft and $rightright (yes, a php script provides the values)

What can I do to have a most flexible screen layout AND a correct print
Preview?

Thanks for any help / ideas

Regards Bruno

[Back to original 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

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