Guest Posted June 20, 2005 Share Posted June 20, 2005 Hi Everyone! I m in big trouble. I want to add an image in the background of the boxes at the left side(not on the right side) what i did, I just added a background image style in stylesheet "infoboxcontents" calss and added a background iamge at specified path. but I did not work. Is there someone to help me?????? :( :( :( :( :( :( Link to comment Share on other sites More sharing options...
Guest Posted June 20, 2005 Share Posted June 20, 2005 Try posting the contents of your stylesheet here and someone will be able to help. Link to comment Share on other sites More sharing options...
martinedwards Posted June 20, 2005 Share Posted June 20, 2005 Hi, I have been doing this aswell. In the style sheet I created a new class..... .leftinfoBoxContents { background: #f8f8f9; font-family: Verdana, Arial, sans-serif; font-size: 10px; background-image: url(images/user-tools-button.jpg); } Then in boxes.php (class for TableBox) I created a new function.... function leftcontentBoxContents($contents) { $this->table_cellpadding = '4'; $this->table_parameters = 'class="leftinfoBoxContents"'; return $this->tableBox($contents); } So when setting up the left boxes I arranged for this new function to be called. Hope this helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.