Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Table with round corners... border image doesn't show on page. Relative path issue?

Table with round corners... border image doesn't show on page. Relative path issue?

Locked

Views: 2,130

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Jul 2007, 11:23 PM
#1
stenio123 avatar

stenio123

New Zenner

Join Date:
Sep 2006
Posts:
9
Plugin Contributions:
0

Table with round corners... border image doesn't show on page. Relative path issue?

Hello

I am editing my product description page, so that the description is nicely tucked inside a table with round corners.

I know how to do that, the problem is I can't get the border images to show on the page... even when I set a wrong image, it still doesnt show anything.

Here is the code:

 <!--bof Product description -->
<?php if ($products_description != '') { ?>
<!--table border-->
<table border="0" width="200" cellpadding="0" cellspacing="0">
<tr bgcolor="#f6be26">
<td width="15"><img scr="../images/topleft.gif" width="15" height="15"></td>
<td width="170"> </td>
<td width="15"><img scr="includes/templates/custom/images/topright.gif" width="15" height="15"></td>
</tr>

<tr bgcolor="#f6be26">
<td width="15"> </td>
<td width="170" bgcolor="#ffffff" align="center">
<!--end table border-->
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<!--end table border-->
</td>
<td width="15"> </td>
</tr>

<tr bgcolor="#f6be26">
<td width="15"><img scr="../images/nonExistentFile.gif" width="15" height="15"></td>
<td width="170"> </td>
<td width="15"><img scr="includes/templates/custom/images/nonExistentFile.gif" width="15" height="15"></tr>
</table>
<!--table border-->
<?php } ?>
<!--eof Product description -->

As you can see I tried 4 different ways, all to the same result - nothing appears.

I am using firefox webdeveloper plugin but it didnt help much.

Any ideas?

Thanks!

24 Jul 2007, 11:39 PM
#2
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

Re: Table with round corners... border image doesn't show on page. Relative path issue?

Which directory do you have the images in - full path?

25 Jul 2007, 2:57 PM
#3
stenio123 avatar

stenio123

New Zenner

Join Date:
Sep 2006
Posts:
9
Plugin Contributions:
0

Re: Table with round corners... border image doesn't show on page. Relative path issue?

The full path is

/public_html/includes/templates/custom/images/

25 Jul 2007, 3:01 PM
#4
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,591
Plugin Contributions:
0

Re: Table with round corners... border image doesn't show on page. Relative path issue?

<td width="15"><img scr="includes/templates/custom/images/nonExistentFile.gif" width="15" height="15"></tr>

That one might work better if you were using the proper html.

30 Jul 2007, 8:23 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Table with round corners... border image doesn't show on page. Relative path issue?

welllll.....