gurpreet Posted January 22, 2009 Posted January 22, 2009 Ok so I added a sidemenu.php and it keeps repeating on the side on long pages eg. Userlist. print "<center><td style='background-image: url(background.gif); width: 185px;'><table style='width: 100%; border: 0px;' cellpadding='0' cellspacing='0'> <td></td> That is part, and I will take a screenie when I get home. Is there a way to print once? Quote
Lithium Posted January 22, 2009 Posted January 22, 2009 Re: Print once? background: url(background.gif) no-repeat Quote
gurpreet Posted January 22, 2009 Author Posted January 22, 2009 Re: Print once? Update: print "<center><td style='background-image: url(background.gif); width: 185px;'><table style='width: 100%; border: 0px;' cellpadding='0' cellspacing='0'> <td></td> </tr> <tr> <td></td> </tr> <tr> <td style='background-image: url(background.gif); width: 185px;'><table style='width: 100%; border: 0px;' cellspacing='0' cellpadding='0'> <tr> <td style='width: 10px;'> </td> <td style='width: 0px; vertical-align: top;'><font face='Verdana' size='1'>"; There are 2 parts to the sidemenu, top and bottom. I stuck the no repeat in both, after (background.gif) and they don't show. Screeny of what it looks like now without the no repeat stuff: Quote
Lithium Posted January 22, 2009 Posted January 22, 2009 Re: Print once? background-image: url('background.gif'); background-repeat: no-repeat Quote
gurpreet Posted January 22, 2009 Author Posted January 22, 2009 Re: Print once? Working perfectly, just need to make the img size bigger (vertically). +1 again. Quote
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.