IMAGE MAP

Discussion in 'HTML' started by Franklin P Patchey, Nov 2, 2003.

  1. Can you not use an image map on a picture that has been put into your page
    using the <BODY BACKGROUND SRC="Whatever"> command?
     
    Franklin P Patchey, Nov 2, 2003
    #1
    1. Advertising

  2. Franklin P Patchey

    Kris Guest

    In article <bo364s$2km$>,
    "Franklin P Patchey" <> wrote:

    > Can you not


    Who are you asking?

    > use an image map on a picture that has been put into your page
    > using the <BODY BACKGROUND SRC="Whatever"> command?


    'Tag', not 'command'.

    And no, you cannot. And why would you? A background image is a
    decorational image, in the 'background'. In the background also implies
    that there is something in the foreground covering it. Not a very useful
    imagemap then, if something is obscuring it.

    My guess to what you want to do is have an image map of which the
    picture appears to continue behind something in the foreground; text,
    other pictures...

    So what you do, is have an image map as you normally do, in the
    foreground, and have a piece of that image in the background, where it
    goes behind all the other stuff.

    Background images is a presentational issue, so please use CSS for that
    and not deprecated HTML. As in:

    <body>
    <p>
    <img src="imagemap.jpg" alt="Navigate our products" usemap="#products"
    id="productsmap">
    You can navigate our products and find more info blah blah blah.
    </p>
    <map name="products">
    ....
    </map>
    </body>

    With it's CSS:

    body { color: #000; background: url("imagemap_bg.jpg") #fff no-repeat; }
    #productsmap { float: left; margin: 0 20px 0 0; }

    --
    Kris
    erlands (nl)
     
    Kris, Nov 2, 2003
    #2
    1. Advertising

  3. Franklin P Patchey wrote:

    > Can you not use an image map on a picture that has been put into your page
    > using the <BODY BACKGROUND SRC="Whatever"> command?


    I'm guessing you mean <body background="whatever.png">.

    First of all, you shouldn't be putting presentation in your HTML files.
    Look into CSS for things like backgrounds.

    Anyway, the answer is no. A background is just that, a background. It is
    not page content.
     
    Leif K-Brooks, Nov 2, 2003
    #3
  4. Did I ask for opinions? NO - why can't people in these newsgroups just
    answer with a simple answer instead of preaching with opinions.
    And maybe it is a tag, but you obviously know what I'm talking about. For
    God's sake.

    and "Can you not" is a perfectly good way of asking a question in
    English........I asked it becuase had already tried to create an imagemap
    with a background and noticed it wasn't working - I was simply asking for
    confirmation to the fact you can't do it.


    "Franklin P Patchey" <> wrote in message
    news:bo364s$2km$...
    > Can you not use an image map on a picture that has been put into your page
    > using the <BODY BACKGROUND SRC="Whatever"> command?
    >
    >
     
    Franklin P Patchey, Nov 2, 2003
    #4
  5. Franklin P Patchey wrote:

    > Did I ask for opinions? NO - why can't people in these newsgroups just
    > answer with a simple answer instead of preaching with opinions.


    There is a difference between a discussion group and your personal
    spoon-feeding helpdesk.


    --
    David Dorward http://dorward.me.uk/
     
    David Dorward, Nov 2, 2003
    #5
  6. Franklin P Patchey

    Kris Guest

    In article <bo37fm$d0h$>,
    "Franklin P Patchey" <> wrote:

    > Did I ask for opinions? NO - why can't people in these newsgroups just
    > answer with a simple answer instead of preaching with opinions.
    > And maybe it is a tag, but you obviously know what I'm talking about. For
    > God's sake.
    >
    > and "Can you not" is a perfectly good way of asking a question in
    > English........I asked it becuase had already tried to create an imagemap
    > with a background and noticed it wasn't working - I was simply asking for
    > confirmation to the fact you can't do it.
    >
    >
    > "Franklin P Patchey" <> wrote in message
    > news:bo364s$2km$...
    > > Can you not use an image map on a picture that has been put into your page
    > > using the <BODY BACKGROUND SRC="Whatever"> command?


    Quite the short-tempered, cluelessly top-posting, ill-quoting newbie,
    aren't we today? If you care to get your head out of that warm, dark
    place, you may learn something. For instance, the fact that Usenet is
    not your personal helpdesk.

    Ploink you very much.

    --
    Kris
    erlands (nl)
     
    Kris, Nov 2, 2003
    #6
  7. Franklin P Patchey <> wrote:
    > I was
    > simply asking for confirmation to the fact you can't do it.


    That's what you got:

    From Leif:
    > Anyway, the answer is no. A background is just that, a background. It is
    > not page content.


    From Kris:
    > And no, you cannot. And why would you? A background image is a
    > decorational image, in the 'background'. In the background also implies
    > that there is something in the foreground covering it. Not a very useful
    > imagemap then, if something is obscuring it.


    You also got their valuable opinions (because these people are good at web
    design), as well as some very useful CSS info from Kris. If you don't like
    their opinions, just ignore them like they weren't there.
    --
    Michael Wilcox
    mjwilco at yahoo dot com
    Essential Tools for the Web Developer - http://mikewilcox.t35.com
     
    Michael Wilcox, Nov 2, 2003
    #7
  8. Franklin P Patchey

    Richard Guest

    Franklin P Patchey wrote:

    > Can you not use an image map on a picture that has been put into your
    > page
    > using the <BODY BACKGROUND SRC="Whatever"> command?



    The simple answer is no.
    As image map would have to be placed within the <body> tag and that is not
    allowed.
    Some browsers don't support the body attributes anyway.
     
    Richard, Nov 2, 2003
    #8
  9. Franklin P Patchey

    PeterMcC Guest

    Franklin P Patchey wrote:
    > "Franklin P Patchey" <> wrote in message
    > news:bo364s$2km$...


    >> Can you not use an image map on a picture that has been put into
    >> your page using the <BODY BACKGROUND SRC="Whatever"> command?


    > Did I ask for opinions? NO - why can't people in these newsgroups just
    > answer with a simple answer instead of preaching with opinions.


    Perhaps because they aren't paid to just answer with a simple answer?

    > And maybe it is a tag, but you obviously know what I'm talking
    > about. For God's sake.


    If you'd called it a frog they'd probably have guessed but it *is* important
    to use the appropriate signifier.

    > and "Can you not" is a perfectly good way of asking a question in
    > English........


    It's generally considered to be bad manners to pick up on grammar issues in
    Usenet but, since you've mentioned it, no it isn't.

    I think that the formulation you were striving for is "Can one not..." The
    use of the impersonal objective form "one" makes it clear that one is not
    addressing a specific individual - obviating the need for Kris to ask "Who
    are you asking?" It may also be worth pointing out, as you have a concern
    for what is perfectly good in English, that sentences start with capitals
    and there are three points in an ellipsis.

    BTW, the answer to your original post is "No".


    --
    PeterMcC
     
    PeterMcC, Nov 2, 2003
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. alex
    Replies:
    1
    Views:
    653
    Lau Lei Cheong
    Feb 4, 2005
  2. Joe
    Replies:
    0
    Views:
    675
  3. Matthias Hildebrand
    Replies:
    5
    Views:
    7,992
    krogers
    Mar 20, 2012
  4. Vlad
    Replies:
    0
    Views:
    366
  5. Ryan Sullivan

    Javascript Image Viewer from Image Map

    Ryan Sullivan, Feb 29, 2004, in forum: Javascript
    Replies:
    3
    Views:
    250
Loading...

Share This Page