jmancallosa
08-04-2003, 09:59 AM
Hi:
I´m developing a list of invoices. Each invoice has different sections. Each field in each section is done by a different layer using DIV, because I want that the user can change the font, the position,... of each field. All of this I am doing it with ASP.
The problem is that if a have a field with more than one line, then I have to know in which position is going to be the next field. To know how many lines has each field, I use the property offsetHeight of the layer. I have to do this between the labels <script></script>. Well, here is the problem. When I write this labels to know the height, or even if a write these labels without nothing inside, then the speed is very very very slow.
Do you know the reason?
Do you have any suggestion to do it faster?
Thanks a lot!
Jose
I´m developing a list of invoices. Each invoice has different sections. Each field in each section is done by a different layer using DIV, because I want that the user can change the font, the position,... of each field. All of this I am doing it with ASP.
The problem is that if a have a field with more than one line, then I have to know in which position is going to be the next field. To know how many lines has each field, I use the property offsetHeight of the layer. I have to do this between the labels <script></script>. Well, here is the problem. When I write this labels to know the height, or even if a write these labels without nothing inside, then the speed is very very very slow.
Do you know the reason?
Do you have any suggestion to do it faster?
Thanks a lot!
Jose