Re: borders and padding

Adam Megacz <[email protected]> Fri, 13 Feb 2004 21:01:23 -0800
Newsgroups gmane.comp.java.xwt.widgets
Organization XWT
Message-ID <[email protected]>
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