Log In · Register

 
 
Closed TopicStart new topic
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
 
fixtatik
post May 31 2008, 04:05 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



try taking out float:left;
 
austinoutloud
post May 31 2008, 04:07 PM
Post #3


awestinnn
*****

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



Hmm. I don't know if I get what your saying. Do you have a link to your myspace?

And the second code should be this-

CODE
<a class="NAME" href="LINK_URL"></a>
 
themusicworld205...
post May 31 2008, 04:13 PM
Post #4


Senior Member
***

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



no comment
 
fixtatik
post May 31 2008, 04:15 PM
Post #5


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



i said remove float:left; not add it in there.
 
austinoutloud
post May 31 2008, 04:15 PM
Post #6


awestinnn
*****

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



Okay, I need a link to your myspace so I can see what your problem is because I can't really understand what you are trying to say.

I may be wrong, but I'm pretty sure you need the quotation marks in the second code.
 
themusicworld205...
post May 31 2008, 04:17 PM
Post #7


Senior Member
***

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



no comment
 
fixtatik
post May 31 2008, 04:18 PM
Post #8


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



^ not having the quotes is just standard HTML, but no longer web standards. you don't actually need them - myspace doesn't even assign a DOCTYPE to profile pages, so it doesn't matter.

//edit: you have that code for what image? why don't you just link your profile like austinoutloud is asking?
 
austinoutloud
post May 31 2008, 04:21 PM
Post #9


awestinnn
*****

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



There is no image in that code.

We need a link to your myspace.


Help Topic Rules and Requirements
- Topic must be titled to reflect the question you are asking.
- Topic must include a screenshot or url AND any coding used.
- To questions about any type of ad removal.
 
themusicworld205...
post May 31 2008, 04:29 PM
Post #10


Senior Member
***

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



no comment
 
austinoutloud
post May 31 2008, 04:35 PM
Post #11


awestinnn
*****

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



I dont see any rollovers on your myspace. But I have an idea that the rollover image URLs (wherever they are) might just need to be flip-flopped, if I'm understanding you correctly.
 
themusicworld205...
post May 31 2008, 04:38 PM
Post #12


Senior Member
***

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



no comment
 
themusicworld205...
post May 31 2008, 04:46 PM
Post #13


Senior Member
***

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



if u cant find out how to do it can u tell me
were can i find a rollover code for myspace for divs
that have the following:
top:xxx, hight:xxx, width:xxx, left:xxx, and z-index:x ????
 
fixtatik
post May 31 2008, 04:49 PM
Post #14


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



you have your "rollover" link outside of a div and there are not positioning attributes assigned to the .home link, so it's not going to show up. i can't even see any type of links on your page except for the advertisement. it's just a black box with some red boxes inside of a white box.
 
austinoutloud
post May 31 2008, 04:51 PM
Post #15


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>
 
themusicworld205...
post May 31 2008, 04:57 PM
Post #16


Senior Member
***

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



that did not work but is ok
i found out a tutorial in CB about rollovers in myspace
and it works perfect
but thanx you guys anyways
 
themusicworld205...
post May 31 2008, 04:58 PM
Post #17


Senior Member
***

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



thumbsup.gifTOPIC CLOSED
 

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