---
title: "CSS background-image property not working in MS Outlook"  
description: "CSS background-image property not working in MS Outlook"  
author: "Anonymous User"  
published: 2012-07-27  
updated: 2026-05-15  
canonical: https://www.mindstick.com/forum/432/css-background-image-property-not-working-in-ms-outlook  
category: "html5"  
tags: ["html5"]  
reading_time: 1 minute  

---

# CSS background-image property not working in MS Outlook

Hi,\
Actually I've used td [background](https://www.mindstick.com/articles/65/how-to-change-background-color-of-tab-control-in-c-sharp)-[image](https://www.mindstick.com/articles/23551/an-investigate-distinctive-seafood-restaurant-for-your-image-stamp-character) [property](https://www.mindstick.com/blog/205/property-notification-in-c-sharp) in [table](https://www.mindstick.com/articles/43918/how-to-design-table-using-bootstrap) but it is not working in outlook. So let me whether any other [option](https://www.mindstick.com/forum/159391/jquery-get-selected-option-from-dropdown) to set background-image of td which will comfortable with outlook. If possible, please paste the code.\
\
Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)!

## Replies

### Reply by Anonymous User

Hi Tanuj Kumar,

Microsoft Outlook does not support css background-image property due to security point of view. To use background-image property in your html code you have to use VML code like as follows:

**//----------------------------------------------------------Start VMLCode-------------------------------------------------------------//**

<td>

<!--[if gte mso 9]>

<v:image xmlns:v="urn:schemas-microsoft-com:vml" id="theImageTop" style='behavior: url(#default#VML); display:inline-block; position:absolute; height:131px; width:813px; top:0; left:0; right:0; bottom:0; border:0; z-index:1;' src="http://www.mindstick.com/newsletter/headerimg.png"/>

<v:shape xmlns:v="urn:schemas-microsoft-com:vml" id="theTextTop" style='behavior: url(#default#VML); position:absolute; display:inline-block; height:131px; width:700px; border:0; z-index:2;'>

<![endif]-->

<p> Your text here which you want to show on backgroung image. You can use here html tag too</p>

<!--[if gte mso 9]>

</v:shape>

<![endif]-->

</td>

**//-------------------------------------------------------------End VML Code-----------------------------------------------------------//**

For more details on this topic you can check this link:

http://mindstick.com/Blog/325/CSS%20background%20image%20property%20not%20working%20in%20Outlook

I hope it might be resolve your problem.


---

Original Source: https://www.mindstick.com/forum/432/css-background-image-property-not-working-in-ms-outlook

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
