SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    how to get links to open with photos

    Okay, not sure I can explain this, but I am trying to use part of the code from my website and use to create another one for a friend. Looking at the following, how would I get the "model 1" "model 2" etc., to open as
    photos. I use them now for links to articles. Hope I explained that right?

    div id="container">
    <div id="header">





    <ul id="nav">
    <li><a href="Introduction.html">About Me</a></li>
    <li><a href="Aboutme.html">My Workshop</a></li>
    <li><a href="goodole.html">My Knives</a>
    <ul>
    <li><a href="goodole.html">Folding Knives</a></li>
    <li><a href="Stovall1.html">Model 1</a></li>
    <li><a href="Oldfolks.html">Model 2</a></li>
    <li><a href="Bill.html">Model 3</a></li>
    <li><a href="BasicRules.html">Model 4</a></li>
    <li><a href="Winter.html">Model 5</a></li>
    <li><a href="Productive.html">Model 6</a></li>
    <li><a href="Dan.html">Model 7</a></li>
    <li><a href="Writing.html">Model 8</a></li>
    <li><a href="Future.html">Model 9</a></li>
    <li><a href="Bolts.html">Model 10</a></li>

    </ul>

  2. #2
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Okay was able to get the photos to open using <li><a href="images/Stovall1.jpg">Model 1</a></li> but now how do I get the photos centered on the page when the link is clicked? I tried the align="center> but no worky.

  3. #3
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,231
    Mentioned
    265 Post(s)
    Tagged
    5 Thread(s)
    Thread closed, as new thread started here: http://www.sitepoint.com/forums/show...ed-from-a-link


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •