MHTML URIs

MHTML URL Reference

#abcxyz_logo { 
background-image: url(mhtml:http://www.abcxyz.com/css/uris.mht!abcxyz_logo); 
}

MHT Source(uris.mht)

Content-Type: Multipart/related; boundary="_URI_DELIMITER"; type="text/html"

--_URI_DELIMITER
Content-Location:abcxyz_logo
Content-Type:/image/gif
Content-Transfer-Encoding:base64

mylogoissocoolyourlogoisforfoolsschooltoolrulegruelpoolsocruel...
--_URI_DELIMITER--

When using MHTML:URIs to display Base64 images for IE, make sure to save the encoded images in a .mht file and reference it in the URL to separate the data from the stylesheet and IE specific content from other browsers. Use a URL query to call the IE specific classes

Here's a series of articles on using MHTML and server-side scripting to create cross-browser Base64 encoded image data:



  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.

Cascading_Style_Sheets/MHTML_URIs
 



 

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.


Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your Digital Marketing and Technology knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.


  Contact Us