I'm working on a template file and I came across something that's biting my head.
On the header.php file I have the following
<div id="logo">
<a href="index.php"><img src="images/logo.png" alt="MY COMPANY""/></a>
<p class="tagline">MY COMPANY</p>
However the logo.png file is not showing up. only the alt= text and the "tagline" show up.
this is my css code just for reference.
#logo {
float:left;
margin:22px 0 0 0;
}
#logo a {
float:left;
}
#logo .tagline {
display:inline;
float:left;
margin:0;
width:115px;
line-height:14px;
color:#aeaeae;
margin:0 0 0 10px;
padding-top:5px;
font-family:Arial, Helvetica, sans-serif;
}
Thanks for the help in advance.
there is a mistake in your imgtag syntax, remove closing " at the end of alt attribute
<img src="images/logo.png" alt="MY COMPANY"/>
Can you try the relative path instead? Something like "/path of your web app/images/logo.png" . It might also be a file permission or misspelling.
I bit that your PHP is hosted on linux host, check file permissions of your image and its folder.
your extra " prevents the img tag from closing causing your problems (highlighted with [])
<a href="index.php"><img src="images/logo.png" alt="MY COMPANY"["]/></a>