Forums
This topic is locked
Template issue
Posted 06 Nov 2001 22:43:27
1
has voted
06 Nov 2001 22:43:27 Keith Andersen posted:
I'm presented with an awkward situation that I hope someone maybe able to help me with. I have a site that I'd like to use a template for, but can't seem to resolve this one problem. A design element to this site is a checkerboard border around the pages In order to get complete browser & platform compatablity I need to place cell heights for those cells containing the border. The issue is these heights fall inside the template and wouldn't be able to adjust them (they change for every page) I've tried making editable areas for the cell tags but that doesn't work properly. I can't just set the size nor is it worth while to create a few templates because it defeats the purpose of templates. Any ideas?Replies
Replied 07 Nov 2001 21:52:00
07 Nov 2001 21:52:00 Joel Martinez replied:
well, that sounds like a predicament... depending on how complex your design is, you might want to look into using SSI (assuming you're using ASP)... you can put a variable name in place of the cell heights and widths, then do something like this to initialize the value<pre id=code><font face=courier size=2 id=code><%<b>theHeight=10</b>%>
<!--#include file="header.asp"-->
your content goes here
<!--#include file="footer.asp"-->
</font id=code></pre id=code>I wrote an article on this at
www.codecube.net/item.asp?cc_ItemID=15
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/
<!--#include file="header.asp"-->
your content goes here
<!--#include file="footer.asp"-->
</font id=code></pre id=code>I wrote an article on this at
www.codecube.net/item.asp?cc_ItemID=15
Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/