Jump to content

problem with table


kvnirvana

Recommended Posts

Any idea why the I cant get the text "Find" to be font-size:110% like I've set it to?

 

 

echo "   <form name='search' action=".$_SERVER['PHP_SELF']." method='post'>         <table width='50%' align='center' style='position:relative;center:0px;top:30px;z-index:1>	<tr>           <td colspan='2' style='font-family:verdana;font-size:110%'><strong>Find</strong></td><br></br>         </tr>         	<tr>           <td align='right' style='font-family:verdana;font-size:110%;'>Bebe:</td><td><select name='bebe'style='font-size: 18px;'><option value='all'>All</option><option value='Fy'>Fy</option><option value='Kir'>Kir</option></td>         </tr> </select>        <tr>           <td align='right' style='font-family:verdana;font-size:110%;'>Om:</td><td><select name='om' style='font-size: 18px;'><option value='all'>All</option><option value='F'>F</option><option value='S'>S</option><option value='j'>J</option></td>         </tr> </select>        <tr>           <td align='right' style='font-family:verdana;font-size:110%;'>Pr:</td><td><select name='pr' style='font-size: 18px;'><option value='all'>All</option><option value='ry'>Ry</option><option value='am'>Am</option></td>         </tr> </select>                    </tr>         	<tr>           <td colspan='2' align='center' ><input type='submit' name='submit' style='font-size: 15px;' value='Search!'></td>         </tr>  </table></form>	 <table> <td style='position:absolute;right:18px;top:36px' 'tdimage'  BACKGROUND='for1.jpg' width='290' height='600'></td></tr>        </table>" ;         

 

Link to comment
https://forums.phpfreaks.com/topic/215633-problem-with-table/
Share on other sites

My guess would be that it is because you have it encased in the STRONG tag. Try removing those tags, and applying the font-weight attribute to your styling, like so:

echo "
   <form name='search' action=".$_SERVER['PHP_SELF']." method='post'> 
        
<table width='50%' align='center' style='position:relative;center:0px;top:30px;z-index:1>

	<tr> 
          <td colspan='2' style='font-family:verdana;font-size:110%;font-weight:bold;'>Find</td><br></br> 
        </tr> 
        
	<tr> 
          <td align='right' style='font-family:verdana;font-size:110%;'>Bebe:</td><td><select name='bebe'style='font-size: 18px;'>
<option value='all'>All</option>
<option value='Fy'>Fy</option>
<option value='Kir'>Kir</option>
</td> 
        </tr> </select>
        <tr> 
          <td align='right' style='font-family:verdana;font-size:110%;'>Om:</td><td><select name='om' style='font-size: 18px;'><option value='all'>All</option>
<option value='F'>F</option>
<option value='S'>S</option>
<option value='j'>J</option></td> 
        </tr> </select>
        <tr> 
          <td align='right' style='font-family:verdana;font-size:110%;'>Pr:</td><td><select name='pr' style='font-size: 18px;'><option value='all'>All</option>
<option value='ry'>Ry</option>
<option value='am'>Am</option>
</td> 



        </tr> </select>
  
          
        </tr> 
        
	<tr> 
          <td colspan='2' align='center' ><input type='submit' name='submit' style='font-size: 15px;' value='Search!'></td> 
        </tr>  </table></form>

	 <table> <td style='position:absolute;right:18px;top:36px' 'tdimage'  BACKGROUND='for1.jpg' width='290' height='600'></td></tr>
        </table>" ; 

Link to comment
https://forums.phpfreaks.com/topic/215633-problem-with-table/#findComment-1122801
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.