Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 07-13-2008, 06:55 PM Image map using CSS
Novice Talker

Posts: 5
Trades: 0
Hey guys... I've never tried to do an image map using CSS before and I'm kinda stuck here. I have the image map codes and all, but it's just the html codes. What do I need to do to get it to work on my site?

The site is http://www.e-lusively.com.

Here is the code for the page:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   

"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>e-lusively[dot]com</title>
<style type="text/css">

body {    background-image:url(http://i36.tinypic.com/2nq7m1.jpg);  }

#c2 {    
width:1024px;    
height:768px;    
background-image:url(http://i33.tinypic.com/2eppxlw.jpg);    
margin:16px auto;
}

#frame {    
width:400px;    
height:430px;    
margin-top:114px;    
margin-left:584px; 
}</style>
</head>

<body><div id="c2"><iframe id="frame" src="http://www.e-

lusively.com/blogger/index2.html" name="frame" frameborder="0" 

scrolling="auto"></iframe>
</div>
</body>
</html>
And here is the code for the image map in html:
Code:
<img src="http://i33.tinypic.com/2eppxlw.jpg" width="1024" border="0" 

usemap="#imap_74" >
<map id="imap_74" name="imap_74" >
  <area shape="rect" coords="348,489,453,523" alt="" title="" 

href="http://www.e-lusively.com/extrastuff.html" target="frame">
  <area shape="rect" coords="388,522,468,552" alt="" title="" 

href="http://www.e-lusively.com/links.html" target="frame">
  <area shape="rect" coords="361,551,493,581" alt="" title="" 

href="http://www.e-lusively.com/contact.html" target="frame">
  <area shape="rect" coords="491,490,543,532" alt="" title="" href="mailto: 

emilybrooke@cableone.net">
</map>
Thanks in advance for any help. I know this is probably a simple question but I seriously have not touched web designing in about three years.... I'm at a loss lately...
emilybrooke is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-14-2008, 05:26 AM Re: Image map using CSS
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.alistapart.com/articles/imagemap

http://www.cssplay.co.uk/menu/imap.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Image map using CSS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24599 seconds with 12 queries