[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Web page margins



On Thu, Jul 12, 2001 at 04:52:30PM -0400, Jan Holler wrote:
> 
> On 12-Jul-01 Denis Barbier wrote:
> > On Mon, Jul 09, 2001 at 06:03:13PM +0200, Jan Holler wrote:
> >>       <if <get-var marginwidth> " marginwidth=\"<get-var marginwidth>\" \
> >>        leftmargin=\"<get-var marginwidth>\"" "">\
> 
> > Okay, this is fine.
> > But may I suggest we talk again about `runtime' attributes?
> 
> >   <page :body:marginwidth="8" :body:marginheight="8"
> >         :body:leftmargin="8"  :body:topmargin="8">
> > 
> > I would like to hear comments to improve this feature, which adds extra
> > flexibility by letting user add any attribute in HTML tags.
> 
> I think this is a good idea. Makes it most flexible. One
> still can use variables though?
> 
> <page :body:marginwidth="$(MARGINWIDTH)" ... 

Sure, define such a variable in your .wmlrc by instance.

-- 
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com