Rollovers, DIV ccs myspace |
![]() ![]() |
Rollovers, DIV ccs myspace |
![]()
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 |
|
|
![]()
Post
#2
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
try taking out float:left;
|
|
|
![]()
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>
|
|
|
![]()
Post
#4
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Jun 2007 Member No: 530,057 ![]() |
no comment
|
|
|
![]()
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.
|
|
|
![]()
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. |
|
|
![]()
Post
#7
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Jun 2007 Member No: 530,057 ![]() |
no comment
|
|
|
![]()
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? |
|
|
![]()
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. |
|
|
![]()
Post
#10
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Jun 2007 Member No: 530,057 ![]() |
no comment
|
|
|
![]()
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.
|
|
|
![]()
Post
#12
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Jun 2007 Member No: 530,057 ![]() |
no comment
|
|
|
![]()
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 ???? |
|
|
![]()
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.
|
|
|
![]()
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> |
|
|
![]()
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 |
|
|
![]()
Post
#17
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 81 Joined: Jun 2007 Member No: 530,057 ![]() |
![]() |
|
|
![]() ![]() |