how to put my banner in squirrelmail?
I want to put the company banner on the top of the screen, that is when you are already inside the mail. now this is what i add in /squirrelmail/functions/page_header.php
// Top Banner
echo "<img src=\"../images/image.jpg\" width=\"630\" height=\"94\" alt=\"...\">";
//before
echo "<a name=\"pagetop\"></a>\n"
. html_tag( 'table', '', '', $color[4], 'border="0" width="100%" cellspacing="0" cellpadding="2"' ) ."\n"
. html_tag( 'tr', '', '', $color[9] ) ."\n"
. html_tag( 'td', '', 'left' ) ."\n";
if ( $shortBoxName <> '' && strtolower( $shortBoxName ) <> 'none' ) {
echo ' ' . _("Current Folder") . ": <b>$shortBoxName </b>\n";
} else {
echo ' ';
}
now this is working but my problem is when you are viewing in a high resolution or like in a 17" monitor, the image becomes short.
if i set the width of the image to 1200, when the page is being viewed in a 15" monitor, the image is too long.
do you guys have an idea how to do this the the length of the image is dyanamic?
help me guys... I'm on a deadline...
|