Image under a link?

How do I put an Image under a text link? Or How do I put a
Text link on top of an image. Many sites do this where they have
normal text links and under them they have images, but it's not a
background image, just an image inside the cell. How do I do
that?

How do you know it's not a background image? That's how I
would do it.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Liquid-86" <[email protected]> wrote in
message
news:eimfhh$qsu$[email protected]..
> How do I put an Image under a text link? Or How do I put
a Text link on
> top of
> an image. Many sites do this where they have normal text
links and under
> them
> they have images, but it's not a background image, just
an image inside
> the
> cell. How do I do that?
>

Similar Messages

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • Picture UNDER Navigation link Problem? now links don't work

    Sorry for the repost need to add a few things
    Hi- I am having a problem with using a background image "under" the navigation links??
    Here is what I did
    (Thanks to James S. who taught me this trick I:
    optimized a full page jpg and dragged it to my web pages only 34K
    2) sized it to fit
    3) sent to to "background"
    and it works fine
    HOWEVER
    when I stretch the bacground image UP under the navigation links the links no longer work?
    what am I doing wrong?
    if I lower the background image to just BELOW the links they work but it looks bad.
    How can I create a full page background that is also under the links without making it a bloated PNG (using the background image fill command in i web)
    Thanks in advance!
    Jim
    I actually had it working fine under most of my pages then when I "uploaded all to.mac it stopped???
    http://web.mac.com/videolounge the Rate Card" page works after lowering image????

    Hi James
    I see you've helped a number of people with iWeb problems so would appreciate your valuable advice please.
    I'm having problems with iWeb links not working so wondered if you could help or point me in the right direction please
    This is my very first web site and all links work fine in iWeb, but some of the links are not working when I publish my site, so I'd really appreciate you having a look at my site please and give me your very valuable advice on how to fix this please.
    Someone suggested emptying the browser's cache which I did, but it's still not working. I have made sure that all the link boxes have been brought to the front and any pictures etc near the links have been sent to the back.
    My temporary site is at http://web.mac/gngraphics and if you were to click on anywhere in the Home page it's fine, but if you were to click on exhibitions/events, once you're in that page none of the links work, and it's the same for most of the others, but not all.
    Please let me know if you need any other information, and thanking you in advance for taking the time and hope you can help me.
    George
    Macintosh G5   Mac OS X (10.4.9)  
    Macintosh G5   Mac OS X (10.4.9)  

  • I would like to design a poster, when I place my photos on the page  under the "links" "colour space" section it says the colour space is RGB not CMYK even though my document is set up as CMYK.  Can/do i need to change this?  i am worried it will be a pro

    I would like to design a poster, when I place my photos on the page
    under the "links" "colour space" section it says the colour space is RGB not CMYK even though my document is set up as CMYK.  Can/do i need to change this?  i am worried it will be a problem when my poster goes to the commercial printers who want CMYK

    Yes, it will be a problem. Convert the images in Photoshop using the printer's color profiles or a standard CMYK profile.
    Mylenium

  • Using imovie09 - music playing but not images (music is linked to images though)

    there is a small green marker shaped as arrow at start of my project that seems to be causing my music to play but not my images in my project. I can manually move forward beyond marker and both music and images will play. Does anyone know what this is/how to remove it? Since it appeared it seems to be crashing my imovie if I try to play project full screen. thanks

    All of the songs play in iTunes, on the computer?
    So, it's the same two songs that DO play on the shuffle, before and after the Restore?  That is odd...
    Go to the iTunes Store, and on the Home screen, click on Free on iTunes under QUICK LINKS.  Download a free song.  Remove all of the songs from the shuffle (you can do another Restore or remove them from the shuffle's Music listing), and add only that new iTunes Store download to the shuffle.  Does it play?
    If it plays, add just one of the songs that previous did not play to the shuffle.  Do they both play, or just the first song?

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • On a Mac OS X version 10.4.11 and itunes 9.1.1.  Can't update to itunes 10.6Trying to get a previously purchased song.  Can't use the purchased option under quick link - nothing shows up and won't let me purchase an already purchased song.  What can I do?

    On a Mac OS X version 10.4.11 and itunes 9.1.1.  Can't update to itunes 10.6, Mac too old. Trying to get a previously purchased song.  Can't use the purchased option under quick link - nothing shows up and won't let me purchase an already purchased song.  What can I do?

    If possible you need to upgrade OS X. However, what you can upgrade to is dependent on what your Mac hardware and configuration is which you have not provided in your profile.

  • I just purchased a software upgrade.  I received an e-mail that says, "To install your software, you simply launch the Mac App Store, click "Redeem"• found under Quick Links and enter your content code(s)." How do I do this??

    I just purchased a software upgrade to OSX Lion.  I received an e-mail that says, "To install your software, you simply launch the Mac App Store, click "Redeem"• found under Quick Links and enter your content code(s).  How do I "launch the Mac App Store?"

    Assuming you are running OS X 10.6.6 or later (10.7.x Lion, 10.8.x Mountain Lion or 10.9.x Mavericks), go to the Apple Menu (top left-hand corner of the screen)>App Store and it should become clear from there.

  • I am trying to install OS X liam on my Mac. Directions say launch Mac App store, click "redeem; found under quick links. Where is quick links on the Mac App store???

    I am trying to install OS X liam on my Mac. Directions say launch Mac App store, click "redeem; found under quick links. Where is quick links on the Mac App store???

    If you're running Mac OS X 10.6.6 or newer, click on the App Store icon in the Dock, go to its homepage if needed, and look at the sidebar on the right.
    If you're running an older Mac OS X version, it needs to be updated or upgraded first.
    (124500)

  • Can't load images under Linux with JavaFX img url

    I have a simple Imageview
    ImageView {
    x: bind mouseX
    y: 200
    //fitWidth works better than transforms
    fitWidth: 200;
    fitHeight: 200;
    image: bind img
    //transforms: [
    // Scale {x: bind myScaleX, y: bind myScaleY}]
    //Reflection effect
    effect: Reflection {
    bottomOpacity: 0.0
    topOpacity: 0.8
    fraction: 1.0
    topOffset: bind mouseY/5
    and I am loading the image like this in anoter function:
    img = Image {
    url: "file://home/suvi/NetBeansProjects/viewfx/src/viewfx/pictures/pic2.jpg"
    //url: "file:/D:/My Documents/NetBeansProjects/ViewFX/src/viewfx/pictures/pic2.jpg"
    //url: "{__DIR__}pictures/pic2.jpg"
    it works under Windows like line 2. Line 3 works under Windows and Linux,
    but Line 1 does not load a image under Linux ?!?
    What is the reason for that? any help?

    Hi raychen and Company
    ok, this is big trouble. I tested it under Windows XP SP3 and Fedora 12.
    The Image URL does not work equal under both system
    Windows: url: "file:/
    Linux: url "file://
    so much for the Java VM makes it system independable, NOT.
    Any workaround?
    Where can I fill a JavaFX Bugreport?

  • Instead of using image in a link column can we have button with name?

    Hi,
    In Apex , in report region instead of using image in a link column can we have button with name?
    Thanks,
    Anoo..

    From your wording, it sounds like you used the built-in column link within APEX. You will need to edit your column and remove that so that the column is only containing the definition that is coming from the query (you can also just change the alias used for the column and then the old column with the link will be removed and the new alias will be added against your new button column).
    -- Sharon

  • Background image under a list

    Hello!
    I need to view a background image under a list.
    I've done this for a panel overriding the paint method but for a list it doesn't go.
    Can someone help me?
    Thanks

    I believe that my code is right..
    I extends List component and override the paint method.
    First, I draw the image, then I call the super method.
    Then, in a main method I add the list to a panel.
    Where I'm wrong?
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.List;
    import java.awt.Toolkit;
    public class ListBg extends List{
         private static final long serialVersionUID = 1L;
         Image image;
         public ListBg(){
              super();
              Toolkit toolkit = Toolkit.getDefaultToolkit();
         image = toolkit.getImage("C:/Programmi/image.jpg");
         public void print(Graphics g){
              g.drawImage(image,0,0,this);
              super.print(g);
    }

  • Image with a Link to an URL

    Hi,
    I have an easy question. I would like to have a little question mark-image on my view. And this image has an link to an url. So I would like to push this image, and a new browser-window opens.
    I only found the Layout-element "LinkToUrl". But with this element I don't have an image.
    How does it works in Webdynpro? In HTML it is very easy...

    Hi,
    Change the layout to grid type and then scroll down. You will find "layout[GridLayout]" set col count here to the number equal to total number of buttons + 2.
    Then click on link and in the properties scroll down and set col span = 2.
    and hAlign = right.
    this will do the required.
    and the flowdata is coming in your container's properties because this container is also present in one of the transparent container which is having layout as flow layout.
    Regards,
    Sarbjeet.

  • I recently downloaded mountain lion and just had it emailed to me but I'm having trouble downloading it to my computer. I cannot find the button that says "redeem" under quick links.

    I recently downloaded mountain lion and just had it emailed to me but I'm having trouble downloading it to my computer. I cannot find the button that says "redeem" under quick links.

    You must have a minimum of OS X Snow Leopard 10.6.8 installed on your Mac to have the Mac App Store. The Quick Links are on the Featured pane.

  • Is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?

    Hi there.
    i have set my links to be black in my page properties.  i have somes images that i am using for links and i do not want the to have a black box tracing their outline.  it's messing up my design and tables.  is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?
    see attachment.
    thanks for sharing your knowledge with me.
    gina

    If you would like your NON-linked images to have a border, and only remove the border from linked images then this css:
    a img { border:none; }
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

Maybe you are looking for