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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.