Msg#: 4397455 posted 3:58 pm on Dec 13, 2011 (gmt 0)
I am trying to add a line of code so that an image appears in my website's sidebar. I am editing the "SIDEBAR" section. I've included a copy of the code I'm using, the actual file path of the image source, and a copy of the css page's complete code from top to bottom. Can anyone read this and tell me where my mistake is coming from? So far I am only getting it to acknowledge the ALT text but it omits the image....
My code looks like this: <img src="sidebar-ad1.png"; alt="New art is added daily! Don't forget to browse our templates for the newest in trends, styles and seasonal designs." />
***NOTE - FILE PATH IF NEEDED*** ('App_Themes/Peacock/img/sidebar-ad1.png')
___________________________ ACTUAL FULL CODE FROM CSS:
Msg#: 4397455 posted 6:29 pm on Dec 15, 2011 (gmt 0)
Hi BRoberson1657, couple of suggestions: Just note this isn't the css file, it's asp - you are coding in the img element, not using css to style it. I don't expect this will be causing the problem, but check the <img> and remove that stray semi-colon: <img src="sidebar-ad1.png" ; <---- Finally, have you checked the image is in the right directory/folder or that you have provided the correct path in the image src?