IMAGE MAP

  • Thread starter Franklin P Patchey
  • Start date
F

Franklin P Patchey

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

Kris

Franklin P Patchey said:
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; }
 
L

Leif K-Brooks

Franklin said:
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.
 
F

Franklin P Patchey

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.
 
D

David Dorward

Franklin said:
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.
 
K

Kris

Franklin P Patchey said:
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.

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.
 
M

Michael Wilcox

Franklin P Patchey said:
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.
 
R

Richard

Franklin said:
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.
 
P

PeterMcC

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".
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top