ASP/Webbot includes and table backgrounds
by "Charlton, Mark" <Mark.Charlton(at)sgcna.com>
|
| Date: |
Mon, 23 Oct 2000 14:36:30 -0400 |
| To: |
"'hwg-languages(at)hwg.org'" <hwg-languages(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
Hi
I have a page which uses a table background as part of an included file for
the page header. I have to have the table all the way across the screen so
I decided to use the table background tiling to fill the cell. The problem
is that when I include this file in another page Interdev sets all the image
src arguments so that they point to the correct location, but doesn't change
the background element for the table cell. This principle can also be seen
at http://www.mcwebtree.com/hwg/mc2.html on an older page version.
Does anyone know how I can get the background property to update to match
the location it is in. This system works fine for a directory which is on
the same level as the include store directory, but if I have a directory
within a directory then the whole layout fails.
Here is the included page:
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="bottom">
<td rowspan="2" height="57"><img src="../images/topleft2.gif" width="131"
height="57"></td>
<td colspan="2" align="center" height="32"
background="../images/topright.gif" id="TDTopPanel">
<a href="https://hwg.org/crystartest/default.asp"> Log In Again </a>
<a href="javascript:history.go(-1)"> Back </a>
<tr valign="top">
<td height="25" width="225"><img src="../images/botmid.gif" width="225"
height="25"></td>
<script language="javascript">
<!--
document.write ('<td height=25 background="../images/botright.gif" width=' +
(screen.availWidth) + '> </td>');
//-->
</script>
</tr>
</table>
Thanks for your help
Mark Charlton
=============================================
Mark Charlton
Mailto:Mark.Charlton(at)sgcna.com
Phone: 508-795-2546
Fax: 508-795-5976
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.