answersLogoWhite

0


Best Answer

I think not. Have not tried it, but an imagemap (no hyphen) is an HTML tag. There is probably a non-valid workaround as there are for other elements. I know there is a way to declare a background image that freely resizes by declaring it three times including in the HTML element (not valid) in a stylesheet. I mean you could use both as elements separately. I do seem to be incorrect thought; links below.

I tend to believe the stuff on A List Apart (the 4th link) more than most.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can an image-map be referring to the background picture in css?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the css code for posting a picture?

A picture (other than the background) is done in HTML. Borders and the like are controlled with CSS.


Stretch a HTML Background?

Current CSS does not allow resizing a background image. Hopefully, CSS 3.0 will address that issue.


How to use CSS in making the picture a background?

To make a picture a background of a web site using CSS, you will use the different background properties, which are: background-color, background-image, background-repeat, background-attachment, and background-position. The specific property you are looking for is background-image. To use this property you would declare in your style sheet the following: body { background-image: url('paper.jpg'); } This is telling the web browser to use the image paper.jpg and make it the background of the entire page. The other background properties control whether the backgound is repeated along the x and/or y axis, the position on the screen the image begins at, whether the background is fixed or scrolls with the page, and the background color.


What CSS property specifies the background color of a table?

Use the CSS declaration "background-color" For instance... <style type="text/css"> body { background-color: red; } </style> That code will change the background color to red. Background color will take the same values for a color as all other CSS color. A named color keyword, a hex RGB value, a decimal RGB value, and a decimal RGBA value.


Which CSS property for the background can be used to specify that scrolling will not move the image from its set position?

The property you are referring to is called the background-attachment property. This property accepts three values, scroll, fixed, or inherit. The default is scroll. However, to set the background to not scroll, you would do: background-attachment: fixed;


Where can a css background image be found?

A css background image is another name for a computer wallpaper.They can be found on Photobucket, SantaBanta Wallpaper, Deviant Art and Free Wallpapers.


What is a CSS in a MySpace?

CSS means cascading style sheet, CSS in a myspace profile styles the profile to look different using colors and background images.


How do you write the CSS and HTML code for an embedded style sheet that configures a background color of?

<style type="text/css" media=screen> body{ background-color: gray;} </style>


What is a CSS property?

CSS PropertyCSS Properties define what aspect of the selector will be changed or styled. (ie. In this example, Color is the CSS Property that will be changed to black: "color:black;".)


In CSS can a background be fixed?

To set a fixed background image use the following:body{background-image:url('your_image.gif');background-repeat:no-repeat;background-attachment:fixed;}....taken from the w3schools tutorial.


What is the correct jQuery code to set the background color of all p elements to red?

$(this).css("background-color");


How do you paste a background on 2.0 CSS?

Well firstly it is CSS 2.0 and the background is defined in the body tag thusly body { background-image: url(brnbak02.gif); background-repeat: repeat; background-color: #cfe3ff; font-size: 12pt; font-family: "Times New Roman", serif; margin: 0; padding: 0; }