Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Suppressing wrap
- From: dlovering at gazos.com (David T. Lovering)
- Subject: [Javascript] Suppressing wrap
- Date: Sat May 3 11:06:34 2003
Indeed it does. I'd tried using the full style declaration
myTd.style.whitespace = "nowrap";
in one of my earlier test permutations, but obviously the case of "Space" is critical (as are most of the CSS attributes). My mistake. Thanks for the tip!
-- Dave Lovering
Hassan Schroeder wrote:
>
> David T. Lovering wrote:
>
> > Of particular concern is "nowrap".
>
> > I've tried the obvious CSS equivalent as follows:
> >
> > var myTd = createElement("TD");
> > myTd.style = "wrap: 'off'";
>
> er, I'd think this would be more obvious:
>
> myTd.style.whiteSpace = "nowrap";
>
> // and it works :-)
>
> HTH!
> --
> Hassan Schroeder ----------------------------- hassan@xxxxxxxxxxxxxx
> Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
>
> dream. code.
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
- References:
- [Javascript] Suppressing wrap
- From: David T. Lovering
- [Javascript] Suppressing wrap
- From: Hassan Schroeder
- [Javascript] Suppressing wrap
- Prev by Date: [Javascript] Suppressing wrap
- Next by Date: [Javascript] Opening an URL through a form
- Previous by thread: [Javascript] Suppressing wrap
- Next by thread: [Javascript] Opening an URL through a form
- Index(es):