Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: styling elements Date: Sun, 30 Jul 2023 09:45:45 +0200 Lines: 15 Message-ID: References: <112fa9f3-7d2d-4c3b-b417-655eb0776264n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net LgvSHO1sR2AwGdnSbtXxPwBClcKJXPw+YmSga5XJy8s2okkk9R Cancel-Lock: sha1:oNi65LfCq9CxTxMzvctyiJMbuwA= sha256:Sh8nCrq95JEAcvUyg/JoD2hn3Lw/TKWOq5cW5MQALzM= Content-Language: de-DE In-Reply-To: <112fa9f3-7d2d-4c3b-b417-655eb0776264n@googlegroups.com> Xref: csiph.com comp.lang.javascript:41377 luserdroog, 2023-07-28 15:31: > After much searching and struggling I've discovered that the > only way to adjust the size of an element is > with its size="number-of-chars" attribute. No. You can also set its width using CSS and "width". Also the distance from the text and the surrounding border can be styled as well as all colours. -- Arno Welzel https://arnowelzel.de