...

View Full Version : Background is repeated



eshban
12-01-2006, 08:24 AM
I am facing a problem in PHP and HTML. I use a background Image but i want that when page is extent then BACKGROUND will not repeat.

I use STYLE "background-repeat:no-repeat" for this, but it wont work





<table border=2 width=100% cellspacing=0 cellpadding=2 background="images/main-back-other-pages.gif">
<tr>
<td valign=top width='".$cw."%' align=center class=\"style1\">

<tr>
<td class=labels valign=top colspan=2 align=left></td>
</tr>

<tr>
<td width=75% class=style1 valign=top align=left style="background-repeat:no-repeat">


<font class=labels>Category: </font><br>
<font class=labels>Viewed: </font><br>
Sold:<br>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>
<font class=labels>Video Length:</font><br>
<font class=labels>Video Size: </font><br>
<font class=labels>Uploaded on:</font>

</td>
</tr>
</td>
</tr>

</table>





Please Help in this manner

Tyree
12-01-2006, 03:47 PM
While this is technically a CSS question...

style="background-repeat:no-repeat;"

Don't forget the semi-colon at the end of style declarations.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum