I should note that I did set `localurl="yes"` as well.

On Saturday, September 13, 2014 5:12:13 PM UTC-7, David Aaron Fendley wrote:
>
> I am struggling to get CFDOCUMENT to apply CSS other than inline.
>
> I've tried the following:
>
> <cfdocument format="pdf">
>   <?xml version="1.0" encoding="UTF-8"?>
>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>   <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>     <title>Invoice</title>
>     
>     <style type="text/css" media="screen">
>       .invoice-id {
>         font-weight: bold;
>         font-size: 14pt;
>       }
>       
>       .invoice-date {
>         font-size: 10pt;
>       }
>       
>       .invoice-date span {
>         font-weight: bold;
>       }
>     
>       .header-line {
>         border-bottom: 3px solid #a32322;
>         line-height: 1px;
>         font-size: 1pt;
>         height: 1pt;
>         margin: 0px;
>         padding: 0px;
>       }
>     </style>
>   </head>
>   
>   <body>
>     <div id="header">
>       <table width="100%">
>         <tr>
>           <td nowrap="nowrap">
>             <cfoutput>
>               <div class="invoice-id">Invoice</div>
>               <div class="invoice-date"><span>Date:</span> 
> #dateformat(now(),'mmmm d, yyyy')#</div>
>               <div style="text-transform:capitalize;font-weight:bold;font-
> size:13pt;">Client Name</div>
>             </cfoutput>
>           </td>
>           <td align="right">
>             <cfoutput>#ExpandPath('../media/images/logo.emf')#</cfoutput>
>             <img src="" width="112" height="60" alt="logo"/>
>           </td>
>         </tr>
>       </table>
>       <div class="header-line">&nbsp;</div>
>     </div>
>   </body>
>   </html>
> </cfdocument>
>
>
> ---
>
> <cfdocument format="pdf">
>   <?xml version="1.0" encoding="UTF-8"?>
>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>   <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>     <title>Invoice</title>
>     
>     <cfoutput>
>       <style type="text/css" media="screen">
>         @import url("#ExpandPath('invoice.css')#");
>       </style>
>     </cfoutput>
>   </head>
>   
>   <body>
>     <div id="header">
>       <table width="100%">
>         <tr>
>           <td nowrap="nowrap">
>             <cfoutput>
>               <div class="invoice-id">Invoice</div>
>               <div class="invoice-date"><span>Date:</span> 
> #dateformat(now(),'mmmm d, yyyy')#</div>
>               <div style="text-transform:capitalize;font-weight:bold;font-
> size:13pt;">Client Name</div>
>             </cfoutput>
>           </td>
>           <td align="right">
>             <cfoutput>#ExpandPath('../media/images/logo.emf')#</cfoutput>
>             <img src="" width="112" height="60" alt="logo"/>
>           </td>
>         </tr>
>       </table>
>       <div class="header-line">&nbsp;</div>
>     </div>
>   </body>
>   </html>
> </cfdocument>
>
>
> ---
> <cfdocument format="pdf">
>   <?xml version="1.0" encoding="UTF-8"?>
>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>   <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>     <title>Invoice</title>
>     
>     <cfoutput>
>       <link rel="stylesheet" href="#ExpandPath('invoice.css')#" type=
> "text/css" media="screen" title="no title" charset="utf-8"/>
>     </cfoutput>
>   </head>
>   
>   <body>
>     <div id="header">
>       <table width="100%">
>         <tr>
>           <td nowrap="nowrap">
>            
> ...

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to