Unfortunately a P tag does not work either. Same result as a div. I can't 
figure this out. Maybe I need to make a way to save the barcode as an image 
then reference it the same as I do the company logo and the signature at the 
bottom.

Bruce
On Sep 21, 2012, at 11:19 AM, Russ Michaels <[email protected]> wrote:

> 
> span is just a block element, you could use any other block element in it's
> place, just try with a <P> tag.
> the point in a span is that it doesn't have any pre-defined styles.
> 
> On Fri, Sep 21, 2012 at 5:35 PM, Bruce Sorge <[email protected]> wrote:
> 
>> 
>> I have several lines of code like this inside a cfoutput:
>> 
>> <span
>> style="border-right:#val(mid(code39[asc(mid(Attributes.InputValue,i,1))],1,1)*(Attributes.BarWidth)+(Attributes.BarWidth/2))#px
>> solid; border-color: black; height:
>> #Attributes.BarHeight#px;margin-bottom:#Attributes.MarginBottom#px;margin-top:#Attributes.MarginTop#px;"></span>
>> 
>> This generates a barcode and works fine in HTML, but when I try to insert
>> the barcode in a PDF it does not show up. I searched online and it appears
>> that cfdocument has an issue with span tags and I should use div instead.
>> However, when I change the span tags to div the barcode is vertical instead
>> of horizontal. I thought about creating several class properties inside a
>> style tag but I admit that my HTML is weak since I have been out of
>> programming for several years. Any ideas how I can accomplish this?
>> 
>> 
>> Thanks,
>> 
>> Bruce
>> 
>> 
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to