Background image in link, link class stuff |
Background image in link, link class stuff |
![]()
Post
#1
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 ![]() |
So I can't figure out images in link classes.
I want an image aligned left center. but I can't get the image to show up CODE <style type="text/css">
.nav_left{ display:block; width:92px; height:16px; color:8c0000; text-decoration:none; background-color: FFFFFF; background-image:url(http://img134.imageshack.us/img134/3197/lcornerjk1.gif) left center no-repeat; background-attachment:fixed; text-align: right; padding-top:0px; } </style> <a href="http://home.myspace.com/index.cfm?fuseaction=user" class="nav_left">Home</a> |
|
|
![]() |
![]()
Post
#2
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
CODE <style type="text/css">
.nav_left{ display:block; width:92px; height:16px; color:8c0000; text-decoration:none; background-color: FFFFFF; background-image:url(http://img134.imageshack.us/img134/3197/lcornerjk1.gif); background-position: left center; background-repeat: no-repeat; background-attachment:fixed; text-align: right; padding-top:0px; } </style> |
|
|
![]()
Post
#3
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 ![]() |
that didn't see to work.
|
|
|
![]()
Post
#4
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
This one works for me:
CODE <style type="text/css">
.nav_left{ display:block; width:92px; height:16px; color:8c0000; text-decoration:none; background-image:url(http://img134.imageshack.us/img134/3197/lcornerjk1.gif); background-position: left center; background-attachment:fixed; text-align: right; padding-top:0px; } </style> |
|
|
![]()
Post
#5
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 ![]() |
Does the script work in Firefox?
because it is not working for me |
|
|
*Infinite.* |
![]()
Post
#6
|
Guest ![]() |
Ever just try this code?
CODE <div class="bg" style="position: absolute; left:0px; top:0px; width:000px; height:000px; overflow: hidden;">
<img src="IMAGEURLHERE"> </div> |
|
|
![]()
Post
#7
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 ![]() |
that's not what I'm trying to do. I want a background image for my link not for my site.
(hence the tiltle of this topic being: Background image in link) |
|
|
*Infinite.* |
![]()
Post
#8
|
Guest ![]() |
So you want the background as a link?
Or excuse me background image as a link? If neither of these then you need to explain what you want better. |
|
|
![]()
Post
#9
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 ![]() |
For everytime I type out a link I want a backgound image behind the text.
but even futher than that I only want it to work on certain links that I choose. This is possible with link classes, and that is what i am having trouble with |
|
|
*Infinite.* |
![]()
Post
#10
|
Guest ![]() |
Why not position the image in the background and then just place links on top of it all? You can also just make fake links so they look the same as an actual link but their not a link.
I don't think I'm understanding this completely. |
|
|
![]()
Post
#11
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 ![]() |
No offense but your not helping me.
I can't position them behind it because I need it to change on hover. And there is no way to fake link it if I need it to change on hover. I just checked and it is doing what I want in Internet Explorer, but not Firefox |
|
|
*Infinite.* |
![]()
Post
#12
|
Guest ![]() |
-shrugs- Fine.
I guess you can wait for Toya to get on later tonight to help you. |
|
|
![]()
Post
#13
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
![]() I did it diff. That is not going to automatically add that to all your links It will only add it when you do: <div class="nav_left">text</div> Or when you make links in that class. Its not going to do it for all your links.. |
|
|
![]()
Post
#14
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 ![]() |
ok how do i change the font color of those links in their normal state. not when their hovered. what do I add to the code
|
|
|
![]()
Post
#15
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
Which links though? And I don't think it would work for like the normal links on myspace. It will either give one for the entire thing or repeat all the way across for each.
|
|
|
![]()
Post
#16
|
|
![]() Run Girl ! &Never come back. ![]() ![]() ![]() ![]() Group: Member Posts: 139 Joined: Feb 2006 Member No: 377,249 ![]() |
CODE <style>Start Code by Deveezyy</style> <STYLE TYPE="text/css"> a:hover img { filter: alpha(opacity=50,finishopacity=6,); } a:hover { background: url("IMAGEURLHEREEEE"); </STYLE><style>Finish Code by Deveezyy</style> there . i think that`s what you`re talking about . hope i helped [: |
|
|
![]() ![]() |