PhilOfAndalucia
Technical User
OK guys - I give up!
I have tried every which way of solving this (probably very simple) problem, without success.
What I am trying to do is to produce a 'bookings diagram' - months of the year across the top, properties down the left hand side, and a kind of bar chart to show when certain properties are occupied.
Having thought about this for a while - and as this has to be produced dynamically several times a day - I decided the best way would be to use a table, and to show the occupancy as 365 '|' characters, in different colours. eg if the first week in January was occupied, the first seven ||||||| would be, say, red, and the next 24 would be white to show that the rest of the month was unoccupied.
This all seemed to fit nicely when I was working in an HTML editor, but I have two major problems.
The first is that, however I try to do it, using Styles or just in-line HTML, I cannot get the table columns to be the widths I want. It doesn't matter whether I specify them in pixels or percentages, they just don't come to the right size.
The second is that, whatever font I try to use, the display is TOTALLY different in IE and Mozilla! To the extent that, if I try to fine-tune it for one, it's so far out in the other as to be useless.
So, first question - am I barking up the wrong tree altogether, and missing a much easier way of doing this? And second, why won't my table columns obey the rules? And third, why does the same font space out quite differently in the two browsers?
To give you an idea of what I mean, you can have a look at:
All suggestions gratefully received!
Phil
I have tried every which way of solving this (probably very simple) problem, without success.
What I am trying to do is to produce a 'bookings diagram' - months of the year across the top, properties down the left hand side, and a kind of bar chart to show when certain properties are occupied.
Having thought about this for a while - and as this has to be produced dynamically several times a day - I decided the best way would be to use a table, and to show the occupancy as 365 '|' characters, in different colours. eg if the first week in January was occupied, the first seven ||||||| would be, say, red, and the next 24 would be white to show that the rest of the month was unoccupied.
This all seemed to fit nicely when I was working in an HTML editor, but I have two major problems.
The first is that, however I try to do it, using Styles or just in-line HTML, I cannot get the table columns to be the widths I want. It doesn't matter whether I specify them in pixels or percentages, they just don't come to the right size.
The second is that, whatever font I try to use, the display is TOTALLY different in IE and Mozilla! To the extent that, if I try to fine-tune it for one, it's so far out in the other as to be useless.
So, first question - am I barking up the wrong tree altogether, and missing a much easier way of doing this? And second, why won't my table columns obey the rules? And third, why does the same font space out quite differently in the two browsers?
To give you an idea of what I mean, you can have a look at:
All suggestions gratefully received!
Phil