1 Reply Latest reply on Feb 2, 2010 5:36 PM by Nancy OShea

    <p align help

    m0nkey922

      I am working on this atm, finally figured it out how to get it to show on m y site now all I need to do is add more images to this

       


      <p align="center"><a href="javascript:gothere()"><IMG SRC="http://img30.imageshack.us/img30/758/test1lg.jpg" WIDTH="621" HEIGHT="260" BORDER="0" NAME="bannerad"></a></p>

       


      would I add another <IMG SRC=" .. LINK .."> where do I start?

        • 1. Re: <p align help
          Nancy OShea Adobe Community Professional & MVP

          It is better to use CSS styles instead of align tags inside your markup.  The objective of modern web design is to keep content (HTML) separate from Styles (CSS).

           

          Add this to your CSS Code:

           

          .center {text-align:center;}

          .center a img {border:none}

           

           

          HTML:

          <div class="center">


          <p><a href="someURL"><img src="your-image.jpg" alt="some description of image goes here" height="xx" width="xx"></a></p>


          <p><a href="some-other-URL"><img src="your-other-image.jpg" alt="some description of image goes here" height="xx" width="xx"></a></p>


          </div>  <!--end center-->

           

          Related link:

          HTML & CSS Tutorials - http://w3schools.com/

           

           

          Nancy O.
          Alt-Web Design & Publishing
          Web | Graphics | Print | Media  Specialists
          www.alt-web.com/
          www.twitter.com/altweb
          www.alt-web.blogspot.com