this is off topic but anyway try this

<table border="1" width="100%" height="430">
    <tr>
      <td width="100%" colspan="2" height="61" nowrap><img
src="C:\Documents    and    Settings\mangesh\My Documents\My
pictures\crows_eating_md_wht.gif" align="ansMiddle">
        <div align="center"><h1><u>';
    $string.=$wname;
    $string.='</u></h1></div></td>
    </tr>

don't use div as it gives line break automaticly

Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030
----- Original Message -----
From: "Diksha Neel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 06, 2003 4:08 PM
Subject: [PHP] alignment


> dear all,
>
> hi!
> an html file is being created by my php script.
> i have used tables for the alignment of html file's text
> and images.
> i have an image and the value of variable $cname to be
> displayed in a cell.
> i want both of these items to appear on the same line.
> but what happens is the $cname value appears under the
> image in the center of the page.
> my question is "is there any way without nesting tables to
> ensure that my text will appear in the horizontal line
> same as that of the image?"
> the code is as under.
>
> thanks,
> diksha.
>
> <table border="1" width="100%" height="430">
>    <tr>
>      <td width="100%" colspan="2" height="61"><img
> src="C:\Documents    and    Settings\mangesh\My Documents\My
> pictures\crows_eating_md_wht.gif">
>        <div align="center"><h1><u>';
>    $string.=$wname;
>    $string.='</u></h1></div></td>
>    </tr>
>
> _______________________________________________________________________
> Odomos - the only  mosquito protection outside 4 walls -
> Click here to know more!
>
http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&w
n
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to