the_eggwhite: (Default)
[personal profile] the_eggwhite
I'm dropping this little doodad into LJ so I've got it archived somewhere, just in case I ever need to cheat at web design and use a 1px trasnsparent gif again.

<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" />

That's an image tag that calls a data URL for a 1px transparent gif... essentially, it doesn't need to bother going and getting the file - it's only a teeny, tiny little thing, so it may as well be encoded into the markup inline instead of included from elsewhere.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

March 2018

M T W T F S S
   1234
567891011
12131415161718
19202122232425
2627 28293031 

Most Popular Tags

Expand Cut Tags

No cut tags