Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Cascading Style Sheets/MHTML URIs

From Wikibooks, open books for an open world
<Cascading Style Sheets

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_DELIMITERContent-Location:abcxyz_logoContent-Type:/image/gifContent-Transfer-Encoding:base64mylogoissocoolyourlogoisforfoolsschooltoolrulegruelpoolsocruel...--_URI_DELIMITER--

When using MHTML:URIs to display Base64 images for IE, make sure to save the encoded images in a .mhtfile and reference it in the URL to separate the data from the stylesheet and IE specific content fromother 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:


Retrieved from "https://en.wikibooks.org/w/index.php?title=Cascading_Style_Sheets/MHTML_URIs&oldid=2152380"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp