Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2006, 03:05 PM
Registered User
 
Join Date: Sep 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Detecting media descriptor

I am working on a HTML email and have sytles set up for handheld and screen media coded as:

<style type="text/css" MEDIA=handheld>
<!--
    #header {width:700px;height:108px;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}
-->
<style type="text/css" MEDIA=screen>
<!--
    #header {width:700px;height:108px;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;;background-image:url(http://www.sfomag.com/blastemails/Ne.../mf_header.png)}
-->

This works except for emails to Hotmail accounts. Hotmail will remove the url when rendering the html. I would like to wrap an <IMG> with an IF statement if the media descriptor is 'screen'. How can I detect the media descriptor? Or is there another work around for the url?

-->






Similar Threads
Thread Thread Starter Forum Replies Last Post
deployment descriptor for weblogic g_basak EJB 3 June 25th, 2008 05:46 AM
Unable to render the descriptor tag steelrose XSLT 2 June 5th, 2008 04:27 PM
Error assembling WAR: Deployment descriptor hendragd Spring 0 March 25th, 2008 10:16 AM
detecting a form nfontaine Javascript How-To 2 April 20th, 2004 06:53 AM
Detecting Read-Only rgerald Access VBA 6 October 30th, 2003 04:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.