Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1934118.aqSPkdTlGX@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 21 Jan 2012 19:52:40 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit Subject: Re: Shrinking the width of a WIDTH=100% table Newsgroups: comp.lang.javascript References: <8nsih7pjdunj21096qub8tnr1mluk2bons@4ax.com> <1936358.aqSPkdTlGX@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 24 NNTP-Posting-Date: 21 Jan 2012 19:52:41 CET NNTP-Posting-Host: d629f0ce.newsspool2.arcor-online.net X-Trace: DXC=`mNR6Gl3=:K74okIm;?DS@A9EHlD;3YcB4Fo<]lROoRA8kF Thomas 'PointedEars' Lahn wrote: >> However, if you had used CSS, you could have reset the `width' property >> to its specified initial value [3, 5]: >> >> elem.style.width = "auto"; > > I'm happy to convert to CSS if that helps. It means having to make two > changes, where perhaps one change would have been sufficient. I'm > under time constraint... I have only 363 working days left in my > career. Please read my posting again, and whole this time. > [snipped autobiography] PointedEars -- > If you get a bunch of authors […] that state the same "best practices" > in any programming language, then you can bet who is wrong or right... Not with javascript. Nonsense propagates like wildfire in this field. -- Richard Cornford, comp.lang.javascript, 2011-11-14