Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-08-2010, 02:08 AM   #1
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
any css experts? image map with css?

hi

has anyone got an idea of where i'm going wrong. i know how to do an image map with html, but this needs to be in css.

i'm trying to map part of an image (contact_bg.jpg) on a css page, but the code i've tried below maps part of the page that i have given coordinates for and not the image. so i want to know how to make my coordinated relative to the image and not the page.

Code:
.contactInfo	{
	width:220px;
	height:260px;
	padding-left:10px;
	background:url(../images/contact_bg.jpg) no-repeat top right;
	display:block;
}


.contactInfo a{
position: absolute;
top: 110px;
left: 260px;
width: 30px;
height: 30px;

}

.contactInfo a:hover{
border:5px solid #000000
}
the hover part of the code is just so i can see where it is on the page.

anyone got any ideas where i'm going wrong?

Last edited by roly; 07-08-2010 at 02:21 AM..
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2010, 02:55 AM   #2
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
its ok i've sorted it. thanks anyway.
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2010, 03:00 AM   #3
munki
Do Fun Shit.
 
munki's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
Install firebug on your firefox setup... makes hunting down lil things like this a breeze.
__________________

I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
munki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2010, 06:07 AM   #4
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
Quote:
Originally Posted by munki View Post
Install firebug on your firefox setup... makes hunting down lil things like this a breeze.
thanks, i'll take a look at it.
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2010, 06:08 AM   #5
Barefootsies
Choice is an Illusion
 
Barefootsies's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Land of Obama
Posts: 42,635
:2cents

For future with CSS/HTML

Prez ICQ: 3117950 (Design/CSS/HTML)
__________________
Should You Email Your Members?

Link1 | Link2 | Link3

Enough Said.

"Would you rather live like a king for a year or like a prince forever?"
Barefootsies is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.