I dense or missing something or both.

Attached is the code I am using trying to follow you suggestion but not
working.


I made it a tml so it would color code in the editor. I am of course just
using it in a results page html
-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com


> From: Ted Wolfley <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 1 Nov 2002 14:04:31 -0500
> To: Multiple recipients of list witango-talk <[EMAIL PROTECTED]>
> Subject: RE: Witango-Talk:  [OT] CSS or HTML Style Help
> 
> <div class='pagebreak'>&nbsp;</div> is correct.  I am using it between
> tables.
> 
> I would end the table on instructor change, inset a page break, then restart
> the table.  All inside the rows tag.
> 
> -----Original Message-----
> From: Dan Stein [mailto:dan@;dss-db.com]
> Sent: Friday, November 01, 2002 1:51 PM
> To: Multiple recipients of list witango-talk
> Subject: Re: Witango-Talk: [OT] CSS or HTML Style Help
> 
> 
> I'm doing the IF thing already.
> 
> Is the syntax
> <div class='pagebreak'>&nbsp;</div>
> 
> Correct?
> 
> Don't the Div tags have to be before the open and close table tags?
> 
> Or do I just put all the logic and the end of the table tag but inside the
> rows tag.
> 
> 
> -- 
> Dan Stein
> Digital Software Solutions
> 799 Evergreen Circle
> Telford PA 18969
> Land: 215-799-0192
> Mobile: 610-256-2843
> Fax 413-410-9682
> FMP, WiTango, EDI,SQL 2000
> [EMAIL PROTECTED]
> www.dss-db.com
> 
> 
>> From: Ted Wolfley <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> Date: Fri, 1 Nov 2002 13:32:45 -0500
>> To: Multiple recipients of list witango-talk <[EMAIL PROTECTED]>
>> Subject: RE: Witango-Talk:  [OT] CSS or HTML Style Help
>> 
>> Try using a <@if> <?@if> to check if instructors change. If they do, use
>> <div class='pagebreak'>&nbsp;</div> to force a page break.
>> 
>> Ted
>> 
>> -----Original Message-----
>> From: Dan Stein [mailto:dan@;dss-db.com]
>> Sent: Friday, November 01, 2002 1:09 PM
>> To: Multiple recipients of list witango-talk
>> Subject: Witango-Talk: [OT] CSS or HTML Style Help
>> 
>> 
>> I am trying to force a page break in a long list of courses when the
>> Instructor Name changes.
>> 
>> I have no trouble getting the code to appear in the source view where I
> want
>> it to be but I have not worked at all with CSS and can't seem to get the
>> HTML syntax right either.
>> 
>> What I want is when the Instructor name changes in the row listing of the
>> courses I want to print a new page.
>> 
>> I have tried
>> 
>> <BR CLASS="pageEnd> which the CSS reference in Dreamweaver MX says should
>> work but I probably need something else somewhere in my code that I am
>> missing.
>> 
>> I have also tried <DIV Style="page-break-after:always">
>> 
>> Neither work
>> 
>> What am I missing
>> 
>> 
>> -- 
>> Dan Stein
>> Digital Software Solutions
>> 799 Evergreen Circle
>> Telford PA 18969
>> Land: 215-799-0192
>> Mobile: 610-256-2843
>> Fax 413-410-9682
>> FMP, WiTango, EDI,SQL 2000
>> [EMAIL PROTECTED]
>> www.dss-db.com
>> 
>> 
>> ________________________________________________________________________
>> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>>               with unsubscribe witango-talk in the message body
>> ________________________________________________________________________
>> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>>               with unsubscribe witango-talk in the message body
>> 
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>               with unsubscribe witango-talk in the message body
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>               with unsubscribe witango-talk in the message body
> 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
        <TITLE>Record Detail</TITLE>
</HEAD>

<BODY>


<@ASSIGN NAME="Company" VALUE='<@REPLACE STR="@@resultset[1,2]" FINDSTR=" " 
REPLACESTR="" >' SCOPE="local">

<@ROWS>




<TABLE BORDER=0>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                CompanyName: 
        </TD>
        <TD>
                <@COLUMN "Courses.CompanyName">
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                CourseNumber: 
        </TD>
        <TD>
                <@COLUMN "Courses.CourseNumber">
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                CourseLongName: 
        </TD>
        <TD>
                <@COLUMN "Courses.CourseLongName">
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                StartDate: 
        </TD>
        <TD>
                <@COLUMN "Courses.StartDate" FORMAT="datetime:@@dateFormat">
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                EndDate: 
        </TD>
        <TD>
                <@COLUMN "Courses.EndDate" FORMAT="datetime:@@dateFormat">
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                StartTime: 
        </TD>
        <TD>
                <@COLUMN "Courses.StartTime" FORMAT='datetime:%I:%M %p'>
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                EndTime: 
        </TD>
        <TD>
                <@COLUMN "Courses.EndTime" FORMAT='datetime:%I:%M %p'>
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                Days List: 
        </TD>
        <TD>
                <@COLUMN "Courses.Days_List">
        </TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
        <TD>
                CourseDescription: 
        </TD>
        <TD>
                <@COLUMN "Courses.CourseDescription">
        </TD>
</TR>


<@IF EXPR='@@local$Company!=<@REPLACE STR="<@COLUMN 'Courses.CompanyName'>" FINDSTR=" 
" REPLACESTR=""> '>
<@ASSIGN NAME="Company" VALUE='<@REPLACE STR="<@COLUMN 'Courses.CompanyName'>" 
FINDSTR=" " REPLACESTR="">' SCOPE="local">
</TABLE>
 <DIV CLASS="pagbreak">&nbsp;</DIV>
</@IF></@ROWS>


</BODY>
</HTML>

Reply via email to