Jump to content

HTML wont resize after php


thefollower

Recommended Posts

Im having a problem with this part of my html:

 

<img src="menu_gradient.gif" id="Image2" alt="" align="top" border="0" width="500" height="660" style="position:
absolute;left:307px;top:348px;
width:262px;height:64px;z-index:01">

 

 

It wont change size even if i alter the width="500" height="660".

Its mixed in php so im wondering if PHP is stopping the size change?

 

This is the php prior to it:

 

<div id="bv_" style="position:absolute;left:307px;top:355px;width:262px;height:64px;z-index:12" align="center">

<?
//if $QuoteResult begins with R with wildcard this appears in red fornt
If (ereg("^R",$QuoteResult)){


	echo '<center><b><font style="font-size:16px" color="green" face="Arial">';
	echo $QuoteResult;
	echo '</font></div></center></b>';}

//if $QuoteResult begins with Y with wildcard this appears in red fornt
If (ereg("^The B",$QuoteResult)){

	echo '<center><b><font style="font-size:16px" color="red" face="Arial">';
	echo $QuoteResult;
	echo '</font></div></center></b>';}

ElseIf (ereg("^You l",$QuoteResult)) {

	echo '<center><b><font style="font-size:16px" color="black" face="Arial">';
	echo $QuoteResult;
	echo '</font></div></center></b>';}

ElseIf (ereg("^You b",$QuoteResult)) {

	echo '<center><b><font style="font-size:16px" color="red" face="Arial">';
	echo $QuoteResult;
	echo '</font></div></center></b>';}

ElseIf (ereg("^You d",$QuoteResult)) {

	echo '<center><b><font style="font-size:16px" color="black" face="Arial">';
	echo $QuoteResult;
	echo '</font></div></center></b>';}




?>
</div>
<img src="menu_gradient.gif" id="Image2" alt="" align="top" border="0" width="500" height="660" style="position:absolute;
left:307px;top:348px;
width:262px;height:64px;z-index:01">

Link to comment
https://forums.phpfreaks.com/topic/66758-html-wont-resize-after-php/
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.