Log In · Register

 
Rollovers, DIV ccs myspace
themusicworld205...
post May 31 2008, 04:03 PM
Post #1


Senior Member
***

Group: Member
Posts: 81
Joined: Jun 2007
Member No: 530,057



can some one tell me what i can to do
so i can make this codes
to be in top of what ever image....
like a code of "z-index:2" for divs


ABOUT ME:
CODE
<style type="text/css">
a.NAME
{float:left;background:url(Picture_URL_1)repeat 0px 0px;width:XXXpx;height:XXXpx;display:block;}

a.NAME:hover
{float:left;background:url(Picture_URL_2)repeat 0px 0px;}
</style>


I'd Like to Meet


CODE
<a class=NAME href="LINK_URL"></a>


cause every time put this code the rollover is under the picture in top and i want the rollover to be in top of that image not under it !


I MAKING A DIV by the way
 
 
Start new topic
Replies
austinoutloud
post May 31 2008, 04:51 PM
Post #2


awestinnn
*****

Group: Member
Posts: 624
Joined: Aug 2006
Member No: 460,069



You need to put your background image in this code. Take out where it is anywhere else.

CODE
<div class="bg" style="position: absolute; left:0px; top:0px; width:000px; height:000px; overflow: hidden;">
<img src="BACKGROUND IMAGE URL HERE">
</div>


Then you need to put any kind of content (Your rollovers) in a regular DIV:

CODE
<div class="content" style="position: absolute; left:000px;  top:000px; width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV HERE
</div>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: