Swathi -
You might try adding "border-style:solid;" and see if that makes
things behave more consistently.
Either way, get a copy of FireBug installed in FireFox and use the
inspection feature to poke around the table causing you trouble. If
there's some other style getting applied and undoing your changes,
you'll see it immediately. If needed you can modify the style
properties in real time there until you see what's tripping you up.
Jim
On Jul 28, 5:28 am, Swathi Kondepati <
swathi8...@gmail.com> wrote:
> Hi All..
>
> I Had problem with applying border to cells of an flextable.Please help
> me.Actually the Problem is :
>
> I applied border to FlexTable cells using CSS styles but i am not
> able to view the border for FlexTable cells in *Mozilla FireFox* but able to
> view in IE.The cells contain empty strings like
>
> *flextable.setHTML(1, 1, " ");
> flextable.getCellFormatter().setStyleName(1,1, "print-redcolorcheckbox");*
>
> The code in CSS file is as follows:
>
> *.print-redcolorcheckbox {
>
> background-color: #FE6767;
> padding: 0.6px 0.6px 0.6px 0.6px;
> border: 1px;
> border-color: #FFFFFF;
>
> }*