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

Re: possible bug in <box> ?

On Sun, 28 May 2000, Tom Gilbert wrote:

> Hey folks,

Hi Tom,

> First off, I have to say thanks :-) WML has changed the way I work with
> the web. For the better. Big time ;-)
> Now I have a question. I could be being dim, but take a look at the
> following:
> #use wml::std::box
> <box bdcolor="#000000" bgcolor="#FFFFFF" border="1" width="50%">
> Hello world!
> </box>
> So I want a box 50% the width of the page, right?

No, documentation states that width attribute is a size in pixels.

I do not know yet if it should be fixed or not (because there is no way
to set relative size when the header attribute is used).

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