Ask a Question related to Coldfusion Database Access, Design and Development.
-
quiero mas #1
Positioning of content
Hi everyone got this following code - and when i try to add the template
-<cfinclude template="resultarticle links.cfm"> it doesn't appear at the bottom
of the content but instead at the top no matter where i put it in the code. Can
anyone tell what to do? I want it to appear after the results.
<div id="column2">
<h1><span class="style1">health</span> <span class="style2"><span
class="style4">sapporo</span></span> </h1>
<cfif isdefined("id")>
<cfif isnumeric(id)>
<cfquery name="qGetItem" datasource="#application.ds#">
select * from products
where productid = #id#
</cfquery>
<cfif qGetItem.recordcount eq 1>
<cfoutput query="qGetItem">
<table class="symtable">
<tr>
<td><cfinclude template="addButton.cfm"></td>
<td><form action="showCart.cfm">
<input type="submit" value="view list" class="addbutton"/>
</form>
</td>
</tr>
<tr>
<td>#ProductName#</td>
<td>#productDescription#</td>
</tr>
</cfoutput>
</cfif>
</cfif>
</cfif>
<cfinclude template="resultarticle_links.cfm">
</div>
</body>
</html>
quiero mas Guest
-
CSS Content Box Positioning - Help Please
Hello! I'm currently working on a website for a client of mine. This is the first time I'm using CSS for positioning, and came across some issues... -
CSS Div Positioning
Anybody know how to cause a DIV to be aligned to the bottom of the page? If you go to: http://www.tilaru.com/NewSite/index.php you'll see that my... -
Content positioning when browser is resized
I asked this question before but didn't get any responses... Lets see if I reword it maybe I'll get more positive results :) Does anyone know how... -
Need help with Content-Disposition Content-Type
I am trying to use the following script to allow users to download files with some of the file name stripped off. This script is for use on my... -
industry positioning for flash MX using dynamic content
hello there have your say or any great links would be great santhi -
reenaroy #2
Re: Positioning of content
Hi try this HTML
<div id="column2">
<h1><span class="style1">health</span> <span class="style2"><span
class="style4">sapporo</span></span> </h1>
<cfif isdefined("id")>
<cfif isnumeric(id)>
<cfquery name="qGetItem" datasource="#application.ds#">
select * from products
where productid = #id#
</cfquery>
<cfif qGetItem.recordcount eq 1>
<table class="symtable">
<cfoutput query="qGetItem">
<tr>
<td><cfinclude template="addButton.cfm"></td>
<td><form action="showCart.cfm">
<input type="submit" value="view list" class="addbutton"/>
</form>
</td>
</tr>
<tr>
<td>#ProductName#</td>
<td>#productDescription#</td>
</tr>
</cfoutput>
</table>
</cfif>
</cfif>
</cfif>
<br>
<cfinclude template="resultarticle_links.cfm">
</div>
</body>
</html>
reenaroy Guest
-
quiero mas #3
Re: Positioning of content
Thanks very much is there a hard and fast rule to using the </table> - b/c
sometimes it doesnt get used other times we can
when to and when not to? Any hints
is it best to use it when using cfinclude?
many thanks Mark
quiero mas Guest
-
reenaroy #4
Re: Positioning of content
hi,
your error was not due to </table>. For the exact error you can see the bold part of the above code. Also It is a good practice to close the table everytime. It is necessary also.
reenaroy Guest



Reply With Quote

