WordPress.org

Forums

Image in "the little box" (3 posts)

  1. DavidDeCristoforo
    Member
    Posted 10 years ago #

    I need to drop a linked image into a "sidebar box". It looks to me like a plain ol div tag, like so:

    <div id="sidebox1">
    Put your ads and such in a box like this
    </div>

    Can I just drop in an img tag with an href as I would in a "static" html page or is there some magic PHP scripting voodoo stuff I need to bust my head on?

    (See it here if you need to: http://naturalfoodworks.net its the top box on the right.)

    Thanx
    DD

  2. navid
    Member
    Posted 10 years ago #

    You can simply drop an:

    <img src="..." alt="..." /> in your little sidebox div. That's it.

    Do note that the ALT is necessary to validate and serves an "alternative" to people who cannot see the images.

  3. DavidDeCristoforo
    Member
    Posted 10 years ago #

    Gotcha...thanx

    DD

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.