|
|||
|
Forgive me for perpetuating this Brian as you have been very kind. I have been able to use the background images to display properly by adding Tituss' Css code suggestion, but so far, after a week of trying I still cannot get a background image to display in a table.
I have tried many different ways (too many to list here!) but I fear that I just do not have the syntax right. For some reason when you set the table background in Dreamweaver, the table background image does not convert with the rest of the images when the Css image button is clicked. I tried to copy the code that gets added when you convert from the pictures that do convert and apply the code to the table background but the image still does not appear. Does anyone know the proper syntax for a table background image? I am running out of ideas......Thanks in advance for your patience and kindness. ![]() |
|
|||
|
Set the property background to the table.
Joomla 1.0.X > Joomla Template kit 2.X Code:
<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>background.png Code:
templates/<?php echo $this->template ?>/images/background.png Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="<?php echo "$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/images/"; ?>background.png"> Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="templates/<?php echo $this->template ?>/images/background.png"> |
|
|||
|
Thanks Brian,
Greatly appreciated as I would never have figured this out myself. I am using Joomla 1.5 and JTK 3.0 (Great product btw!) I figured out where to put the second block of code in the index.php file, but I am not sure where to stick the first block of code. Would some be so kind as to point the way? Thanks again for all of the help, I think the world of you guys. Michael Nottingham Buena Vista Designs |
|
|||
|
Hi Michael,
only one piece of code goes in J1.5 1. all images go in the images folder for the template your using. Your image Code:
background="images/your_background_image.png"> Code:
templates/<?php echo $this->template ?>/ Code:
background="templates/<?php echo $this->template ?>/images/your_background_image.png "> |
|
|||
|
Just select the table then bottom of the editor you should see tags
like Body > Table > td etc. select the table tag and then properties bar will have a Bg image field. click the icon on the left to choose an image. Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="http://www.m65.net/forums/images/logo.png">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
templates/<?php echo $this->template ?>/ So it looks like this! Code:
<table width="99%" border="0" cellpadding="0" cellspacing="0" background="templates/<?php echo $this->template ?>/images/logo.png">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
Last edited by admin; 06-18-2008 at 04:06 PM. |
|
|||
|
Success! Thanks for going the extra mile Brian. Your efforts have ensured my success with this issue. Sorry I have been such a pain. My problem stemed from my (temporary) CSS ignorance and not any shortcomings with the JTK. Thanks again for helping with an issue that to me is clearly out of the scope of support for this fine product. I am very gratefull for the extra effort as I know how busy you are. Warm Regards, Michael Nottingham
|
| Thread Tools | |
| Display Modes | |
|
|