Norman,

here is some code that I put into a file and then name it
what ever the color of box that I want around the item that
I want boxed.

This one is called redbox.cfm for example.  to use it I just
call <cf_redbox> where I want my box to begin and then I put
</cf_redbox> where I want my box to end.  Works just fine in
both IE and Netscape.

<cfswitch expression="#thistag.executionmode#">
        <cfcase value="start">
        <TABLE border="0" cellpadding="1" cellspacing="0"
bgcolor="#B92533" width="100%">
                <TR>
                        <TD>
                        <TABLE width="100%" border="0" cellpadding="1"
cellspacing="0" bgcolor="White">
                                <TR>
                                        <TD>
        </cfcase>
        <cfcase value="end">
                                        </TD>
                                </TR>
                        </TABLE>
                        </TD>
                </TR>
        </TABLE>
        </cfcase>
</cfswitch>


Hope this helps.
Bill
CF_Warrior
PS, I have written another one of these that you can control
everything in by passing in the var's you want.  It's the
ultimate box, you can set headers, colors, border widths,
all kinds of cool stuff.  I just don't have it well
documented yet so I have not posted it to the dev exchange
yet.


> I have been struggling with this one for quite some time
> now: I need a one pixel border around the OUTSIDE of a
> table. Here's my most recent attempt:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to