Results 1 to 4 of 4

Thread: Css Pop-up Image Viewer

  1. #1
    Join Date
    Nov 2004
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Css Pop-up Image Viewer

    Hi there,

    I'm using the CSS pop-up image viewer and I've been trying to switch the title section, in RED, from the bottom to the top of the viewer here:
    http://www.dynamicdrive.com/style/cs...ge-viewer/P80/

    I've tried a couple things but not luck. Here is the code:

    <a class="thumbnail" href="#thumb">
    <img src="Caliper_Hardware_thumb.jpg" width="120px" height="80px" border="0" />
    <span><img src="Caliper_Hardware.jpg" /><br />
    Caliper Hardware</span></a>

    Thank you in advance!

  2. #2
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    <a class="thumbnail" href="#thumb">
    <img src="Caliper_Hardware_thumb.jpg" width="120px" height="80px" border="0" />
    <span><img src="Caliper_Hardware.jpg" /><br />
    <font color="red">Caliper Hardware</font></span></a>
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I think he wanted the caption to appear on top of the image, not for the caption to be turned red.

    I think...

    To add the caption to the top, do this:

    Code:
    <a class="thumbnail" href="#thumb">
    <img src="Caliper_Hardware_thumb.jpg" width="120px" height="80px" border="0" />
    <span>Caliper Hardware<br /><img src="Caliper_Hardware.jpg" /></span></a>
    Notice the change in order in the highlighted part.

  4. #4
    Join Date
    Nov 2004
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you. Yes I do want the caption at the top instead of the bottom.

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
  •