Re: borders and padding
Corey Jewett <[email protected]> Fri, 13 Feb 2004 11:20:53 -0800
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Message-ID | <[email protected]> |
Is it possible to implement the entire CSS margin/border/padding specifications? Corey On Friday, February 13, 2004, at 11:05 AM, Charles Goodwin wrote: > Anybody got thoughts on how to handle borders and padding now that > they're out of the core? > > I wanted to just trap fill for borders but now I'm unsure whether > that's > wise given that I've no idea how we determine whether a value put to > fill is a colour or an image resource. > > Also, should padding be part of border? (An invisible border?) Or > would it be better handled using a transformation rather than extra > boxes. We can either wrap the <content/> in a 3x3 grid of boxes (with > colspan set of course) or we can somehow shift the <content/> to the > desired x,y and make sure it's never larger than [width-2x] and [width > - > 2y]. > -- > - Charlie > > The future of the net - www.xwt.org > > Charles Goodwin <[email protected]> > Member of the XWT Foundation > > > _______________________________________________ > widgets mailing list > [email protected] > http://lists.xwt.org/listinfo/widgets >