So I have a div with a background image
Mark up as follows
<div class="leadgen"> <h3><asp:Literal ID="LeadGenSpotTitleLiteral" runat="server"></asp:Literal></h3> <img src="/images/leadGen_hand.png"/> <span> <asp:Literal ID="LeadGenSpotDescriptionLiteral" runat="server"></asp:Literal> </span> </div> What I am trying to do is to keep the image <img src="/images/leadGen_hand.png"/> on the bottom right floating to the right of the text in the span.
Current CSS
#solutionsNav div.leadgen { background:url(/images/leadGen_bg2.png) no-repeat; background-size: 100% 100%; padding: 10px; color: #FFF; cursor: pointer; } #solutionsNav div.leadgen h3 { font-weight: bold; font-family: arial; color: #ffffff; font-size: 12pt; padding-bottom: 3px; } #solutionsNav div.leadgen span { font-family: arial; color: #ffffff; font-size: 10pt; margin: 0; padding: 0; } #solutionsNav div.leadgen img { padding: 0 5px 10px 10px; float: right; }
<asp:Literal>? Pretty sure that's not rendered HTML.