Is there a way to construct HTML/CSS in an HTML email such that if image X does not load, text Y will appear?
        Posted  
        
            by 
                wide_eyed_pupil
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by wide_eyed_pupil
        
        
        
        Published on 2012-09-26T15:07:20Z
        Indexed on 
            2012/09/26
            15:37 UTC
        
        
        Read the original article
        Hit count: 481
        
I'm looking for something a little more sophisticated than the alt="Newsletter Heading text" attribute of <img> tag.
So if the Masthead.png image doesn't load for whatever reason, I want the display text, say Font: 60px Helvetica Neue Black, Helvetica, ..., Sans Serif text-align: center to appear in the middle of the table cell that is my masthead instead of just the alt text in some small default font in top right corner. One idea I had was to use to put the image on-top of the text display but I don't know if z-depth is something I can use in email HTML(?4)?
© Stack Overflow or respective owner