Re: borders and padding
Corey Jewett <[email protected]> Sat, 14 Feb 2004 10:39:02 -0800
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Message-ID | <[email protected]> |
Well I almost stopped him completely; his knighthood wanted to recommend CSS3 instead. :) I don't see what is so awful about margins, borders (size related features), and padding. It provides a great deal of control over layout. Far better than a GridBagLayout in Java. Corey On Friday, February 13, 2004, at 09:01 PM, Adam Megacz wrote: > > Corey Jewett <[email protected]> writes: >> Is it possible to implement the entire CSS margin/border/padding >> specifications? > > Corey, I think Tim Berners-Lee has hacked your machine and is forging > emails from your account. You might want to change your password. > > ;) > > - a > > >> >> 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 >>> >> >> >> _______________________________________________ >> widgets mailing list >> [email protected] >> http://lists.xwt.org/listinfo/widgets >> > > -- > "Keep your thoughts positive because your thoughts become your words. > Keep your words positive because your words become your behaviors. > Keep your behaviors positive because your behaviors become your > habits. > Keep your habits positive because your habits become your values. > Keep your values positive because your values become your destiny." > - Gandhi > Ji > > _______________________________________________ > widgets mailing list > [email protected] > http://lists.xwt.org/listinfo/widgets >