We will support both inner and outer borders in border manager. So which ever way the use wants it then they got it.
-- Raymond Irving --- Michael Bystrom <[EMAIL PROTECTED]> wrote: > Den 03-09-15 00.47, skrev "Kevin" > <[EMAIL PROTECTED]>: > > > Michael wrote: > > > >> Raymond, > >> > >> I STRONGLEY suggest that we render the borders > inside the layers... > >> All the widgets that we create can NOT have a > border outside the layer... > >> If a layer is "100px in width" then it needs to > be a "100px in width" > > > If you set a 1px border in CSS for 100px wide box > it will be in total 102px > > The same for adding margin and padding it is an > outer dimension and that's > > the way it is (well except for the broken box > model in IE5). If I have got > > this wrong please point me to the correct > reference thanks! > > Kevin > > Jepp! the borders are suppose to go on the outside > http://www.w3.org/TR/REC-CSS1#formatting-model > http://www.w3.org/TR/REC-CSS2/box.html#box-dimensions > > ... all boxes have a core content area with optional > surrounding padding, > border and margin areas. > > I just found it easier to work with borders if 100px > is a 100px and not 98px > using a 1px border > > Should stick to CSS2 recommendations that's > perfectly fine with me > > Just a idea. > > :) > > Michael > > >>> Hi Everyone, > >>> > >>> I've managed to get DynLayers to now support CSS > >>> borders in ie, opera and mozilla. All DynLayers > will > >>> render the same way in all browsers. NS4 does > not work > >>> well with CSS so I don't know it if makes sense > to try > >>> and create a fix for that. > >>> > >>> Should I add this to the setCSSBorder() to > >>> BorderManager or should we just create a > different > >>> libary (e.g. CSSBorder)? > >>> > >>> > >>> -- > >>> Raymond Irving > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/