Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP.NET (Non-Forum Related)
 CSS Image Attributes
 New Topic  Topic Locked
 Printer Friendly
Author  Topic Next Topic  

JJenson
Advanced Member

USA
2121 Posts

Posted - 22 January 2008 :  18:51:10  Show Profile  Visit JJenson's Homepage
This is sort of .net related I have an application that I am trying to make all images within a div have a border this is what I have on my code:


<asp:TableCell ID="TableCell2" runat="server" HorizontalAlign="Center" Width="446">
<div class="mainContent">
<asp:Image ImageUrl="~/images/ad1.gif" runat="server" />
</div>
</asp:TableCell>


in my stylesheet I have this:


.mainContent img { border: 1px solid #C4C4C4; }


This shoudl work am I screwing up the css or do I need to call it another way cause of the .net code that references IMage instead of img?

Thanks
   Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07