why is image not showing up in cell? (2 posts)

  1. smokinJ
    Posted 5 years ago #

    I have spent 2 hours trying to figure out why this image is not displaying. I have already used: Background-image: & background:, i resorted to img src= trying to see if that would work but it doesnt. what am i doing wrong??

    <ul><p align="center"><span class="sb-box"><a img src="http://www.emlynch.com/wordpress/wp-content/uploads/2009/10/brand.gif"; no-repeat;></a></span></p></ul>

  2. stvwlf
    Posted 5 years ago #

    <ul> tags are to have <li> tags within them, in which you can then put the <p> tag.

    you have an img tag in the middle of an a tag - you can't do that.

    Semi-colon not allowed after brand.gif

    no-repeat; is a CSS directive and does not belong in HTML code.

    Not guaranteeing this will work but this is more what you are after, assuming you have the details correct

      <li><p align="center"><span class="sb-box"><img src="http://www.emlynch.com/wordpress/wp-content/uploads/2009/10/brand.gif" alt="" /></span></p></li>

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.