🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.software.thunderbird
Article #396

Re: How do I stop background image repeating

#396
From: Paul
Date: Mon, 23 Nov 2026 16:52
77 lines
3813 bytes
On Mon, 11/23/2026 4:03 AM, T wrote:
> On 11/23/26 00:54, Jörg Knobloch wrote:
>> On 23 Nov 2026 01:46, T wrote:
>>>
>>> body {
>>>    background-image: url("paper.gif");
>>>    background-repeat: no-repeat;
>>> }
>>>
>>> Into
>>>
>>>   <body background="data:image/png;base64,[repeats removed],...>
>>>      abc
>>>      <div class="quicktext-compose-toolbar" contenteditable="false"></ div>
>>>    </body>
>>
>> And AI didn't tell you?
>>
>> <body
>>    style="background-repeat: no-repeat;
>>    background="data:image/png;base64,iVBORw[stuff deleted"
>>  >
> 
> It did not work.  Did you test it?
> 
>> Ten posts with no outcome for one line of code?
>> I can see the accumulated expertise in this NG :-(

It does work, T.

Start with a prototype email here. This one has a background image
which happens to be a "tiling image". The edges of the BASE64 image here,
meet with one another, so if this particular image repeats, it all looks
like the part of a larger pattern. Since the pattern is so faint, you
can barely see it. This makes proof reading hard to do.

   https://raw.githubusercontent.com/ChartBlocks/html-email-template/refs/heads/master/email.html

I took a Sparkle Pony off the web, and converted it to grayscale and
made it the same dimensions as the BASE64 image. I converted it.
I inserted it.

It didn't work.

After some expletives and poking at it... I used a hex editor and noticed
the Linux base64 program, added 0x0a and broke the file into 1536 lines.
When the HTML wants it as one continuous line. Using the hex editor,
I removed the 1536 instances of 0x0A hex. I copied that and pasted
it into Composer in place of the existing tiling image.

It worked.

I then added Jörgs line

    background-repeat: no-repeat;

That too worked. The result is here.

    [Picture]

    https://imgur.com/a/yA9kp85

    https://postimg.cc/YGTp9r66
    https://i.postimg.cc/rswzfzzP/Jorg-Method-Working-02.gif

Notice I haven't fixed transparency or anything.
Just got the background working.
And the background does not scale as you resize the browser window,
the browser text section scales but the background does not.
It likely needs something other than

    background-size: 1500px;

If I make that 300px for example, and remove the no-repeat line,
I get multiple repeats of a 300px wide image.

   Paul
Technical Details
Message-ID: <11e1qvl$22bk2$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11dvr4p$1cl6b$1@dont-email.me> <ada088b0-2c9e-4f4d-ba57-f0b5775249b4@news.betterbird.eu> <11dvusv$1dr65$1@dont-email.me> <1c1eeec9-a9d1-4262-b99d-9044bac0f636@news.betterbird.eu> <11e0vge$1nc37$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: alt.comp.software.thunderbird
Subject: Re: How do I stop background image repeating
Date: Mon, 23 Nov 2026 11:52:04 -0500
Organization: A noiseless patient Spider
Lines: 77
Message-ID: <11e1qvl$22bk2$1@dont-email.me>
References: <11dvr4p$1cl6b$1@dont-email.me>
 <ada088b0-2c9e-4f4d-ba57-f0b5775249b4@news.betterbird.eu>
 <11dvusv$1dr65$1@dont-email.me>
 <1c1eeec9-a9d1-4262-b99d-9044bac0f636@news.betterbird.eu>
 <11e0vge$1nc37$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 23 Nov 2026 16:52:06 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2174594"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18fNoZIflULZurypfSibrZQk/LeyzDOYJk="; posting-host="ca40092d21bc8b1381e8e7699d926b41"
User-Agent: THIS SPACE FOR RENT
Cancel-Lock: sha1:8e9f5nVsffkd4K57st7bTVXT8x4= sha256:DvEm9S6Vb7DfMEgUNR5wZZlPN2huksCCJF//Sp5nH7s=
	sha1:KjPIBBoiLNx1WmAgllAQM2zRVHY= sha256:h1su/IUndyWXFHdD+JzklKUI38qUJc/yh5zxlbaX0JI=
In-Reply-To: <11e0vge$1nc37$1@dont-email.me>
Content-Language: en-US