thefollower Posted August 26, 2007 Share Posted August 26, 2007 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"> Quote Link to comment Share on other sites More sharing options...
mosey Posted August 28, 2007 Share Posted August 28, 2007 I think it's this part that may be the cause of your problems: width:262px;height:64px; which is part of your HTML style values Hope this helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.