Jonty
01-29-2009, 09:45 AM
I am formating a piece of text so that when certain conditions apply it is placed in a coloured block. Below is the html Im using.
But ..... at the moment the text is shown in the top left corner of the block and I want it to be shown in the middle of the block. Can anybody help please?
Thanks v much.
Jonty
.input1 {BORDER: none; FONT-WEIGHT: normal; FONT-SIZE: 11px; WIDTH: 100px; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #A1C1E8; TEXT-DECORATION: none; height:24px;}
But ..... at the moment the text is shown in the top left corner of the block and I want it to be shown in the middle of the block. Can anybody help please?
Thanks v much.
Jonty
.input1 {BORDER: none; FONT-WEIGHT: normal; FONT-SIZE: 11px; WIDTH: 100px; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #A1C1E8; TEXT-DECORATION: none; height:24px;}