From: Jack C. <jac...@ne...> - 2003-08-03 00:45:14
|
I keep answering my own questions ; ) The problem was due to the clip setting. For IE and opear, the border is drawn as an inner border. For Mozilla, it is drawn as outer. Thus will increase the layer's size. However the clipping value is not changed so it cuts away the right and bottom border. I have to decrease the layer's width and height by border width x2, so make it look the same as in IE and opera. Jack -- Jack Chung <jac...@ne...> http://www.PerceptiveCorner.com/ On Sat, 02 Aug 2003 18:47:51 -0400 Jack Chung <jac...@ne...> wrote: > I have figured it out. I forgot to set borderStyle! > Now it works well in IE and opear. However, in Mozilla, only the top > and left border shows. I cannot make the border show on all four sides. > > mylayer.css.border = "1px solid black"; > > Only shows the top and left borders in Mozilla. > > Any one knows solutions to this? > > Jack > > -- > Jack Chung <jac...@ne...> > http://www.PerceptiveCorner.com/ > > > On Sat, 02 Aug 2003 00:34:25 -0400 > Jack Chung <jac...@ne...> wrote: > > > Hello all, > > When I try to use the setBorder function of a DynLayer, the browser > > complains there's no such function! However I see it listed in the API > > documentation!? > > How can I set the border of a DynLayer without using border manager? I > > tried layer.css.borderWidth = 2; but it didn't have any effect. > > > > Jack > > > > -- > > Jack Chung <jac...@ne...> > > http://www.PerceptiveCorner.com/ > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Dynapi-Help mailing list > > Dyn...@li... > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help |