hi there, I hope your help.
I need in my aspx page replace this layout:
immagine1.jpg
to change new layout with inserting new values of my code behind:
But I have this output wrong because the image is canceled and the value of date is left and not supported in the initial image:Code:Label1.Text = Convert.ToString(dr["myDates"]); TITLE = Convert.ToString(dr["TITLE"]);
immagine2.jpg
css file:
aspx file:Code:.templatemo_product { float: left; width: 455px; height: 105px; padding: 10px; background: url(images/templatemo_products.jpg) no-repeat; display:block }
code-behind:Code:<div class="templatemo_product"> <asp:Label ID="Label1" runat="server"> <img src="images/templatemo_photo1.jpg" alt="templatemo.com" width="117" height="76" /> <strong>Vivamus a massa</strong><br /> Donec iaculis felis id neque. Morbi nunc. Praesent varius egestas velit. Donec a massa ut pede pulvinar vulputate. Nulla et augue. Sed eu nunc quis pede tristique suscipit. Nam sit amet justo vel libero tincidunt dignissim. </asp:Label> <a href="#"><strong>READ MORE </strong></a> </div>
Can you help me?Code:Label1.Text = Convert.ToString(dr["myDates"]); TITLE = Convert.ToString(dr["TITLE"]);



Reply With Quote



Bookmarks