RE: cf_barcode height not working in Firefox:

2009-09-28 Thread Josh Nathanson

I used this tag, and I think (this was awhile back) I modified it so instead
of using spans, it used table cells (td's).

Once I did that I was able to control the width and height across browsers.

-- Josh


-Original Message-
From: Richard White [mailto:rich...@j7is.co.uk] 
Sent: Monday, September 28, 2009 6:42 AM
To: cf-talk
Subject: Re: cf_barcode height not working in Firefox:


we cannot specify a fixed width as it is a barcode feature that has varying
widths between all the bars. the full code is as follows:




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cf_barcode height not working in Firefox:

2009-09-28 Thread Richard White

we cannot specify a fixed width as it is a barcode feature that has varying 
widths between all the bars. the full code is as follows:














 


 
 


 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 





#Attributes.TextTop#

 









   



#Attributes.TextBottom#



thanks


>did you try specifying a fixed width in the span's style?
>
>Azadi Saryev
>Sabai-dee.com
>http://www.sabai-dee.com/
>
>
>On 28/09/2009 20:42, Richard White wrote:
>> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326696
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cf_barcode height not working in Firefox:

2009-09-28 Thread Azadi Saryev

did you try specifying a fixed width in the span's style?

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 28/09/2009 20:42, Richard White wrote:
> does anyone have any ideas what may cause this?
>
> thanks
>
>   
>> thanks for your reply, this has sorted out the height issue, although 
>> the width has increased significatly (again only in Mozilla but works 
>> fine in IE) 
>>
>> do you know what would cause this?
>>
>> thanks
>>
>> 
>>> see if adding display:inline-block to the span's style, or setting
>>> line-height property, helps.
>>> iirc, span, by default,  is not a block-level element, and thus uses 
>>>   
>> the
>> 
>>> line-height of its parent for its height...
>>>
>>> Azadi Saryev
>>> Sabai-dee.com
>>> http://www.sabai-dee.com/
>>>
>>>
>>> On 25/09/2009 18:50, Richard White wrote:
>>>   
 
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326693
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cf_barcode height not working in Firefox:

2009-09-28 Thread Richard White

does anyone have any ideas what may cause this?

thanks

> thanks for your reply, this has sorted out the height issue, although 
> the width has increased significatly (again only in Mozilla but works 
> fine in IE) 
> 
> do you know what would cause this?
> 
> thanks
> 
> >see if adding display:inline-block to the span's style, or setting
> >line-height property, helps.
> >iirc, span, by default,  is not a block-level element, and thus uses 
> the
> >line-height of its parent for its height...
> >
> >Azadi Saryev
> >Sabai-dee.com
> >http://www.sabai-dee.com/
> >
> >
> >On 25/09/2009 18:50, Richard White wrote:
> >> 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326692
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cf_barcode height not working in Firefox:

2009-09-25 Thread Richard White

thanks for your reply, this has sorted out the height issue, although the width 
has increased significatly (again only in Mozilla but works fine in IE) 

do you know what would cause this?

thanks

>see if adding display:inline-block to the span's style, or setting
>line-height property, helps.
>iirc, span, by default,  is not a block-level element, and thus uses the
>line-height of its parent for its height...
>
>Azadi Saryev
>Sabai-dee.com
>http://www.sabai-dee.com/
>
>
>On 25/09/2009 18:50, Richard White wrote:
>> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326627
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cf_barcode height not working in Firefox:

2009-09-25 Thread Azadi Saryev

see if adding display:inline-block to the span's style, or setting
line-height property, helps.
iirc, span, by default,  is not a block-level element, and thus uses the
line-height of its parent for its height...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 25/09/2009 18:50, Richard White wrote:
> Hi
>
> we are using the tag cf_barcode and although we can change the height in IE 
> it is not changing in firefox. The code that sets the height is as follows 
> (note: attributes.barheight). can anyone spot what could be causing this?
>
>  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;">
>
> thanks
>
> richard 
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326626
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4