I am I just cant seem to get this to work Ive done every this right down to the from the code to the image I just cant seem to get this to work if anybody has any ideas please help
@TheSxNxP Surely you have solved the problem by now but I want to comment to help others. If you copy the HTML straight from the website you get a lot of additional junk that you dont need. You can clean the code by using firebug, you can check and edit in browser. Or code it manually. Or use a html scrubber.
@kangomedia around what? sorry im really new at this. i know what the hyperlink is but idk like exactly where the target="_blank" goes. like what comes before it and after?
Simple, explained clear and slow, and I can see what you were doing. Thanks, man. Way better than most out there. The text indent trick was one I was looking for forever and couldn't figure out...I couldn't get how people were getting images to show up with no content in the div. This explains it. Thanks!
Thank you man, it helps me a lot!! Nice vid, simple and effective !
alexduhail 1 week ago
Hey, can you add an active state to an image? Basically, I want the rollover to stick until another link is clicked.
Here is my code that I tried:
a.sign3{ display:block; width:156px; height:55px; text-indent:-5000px; text-decoration:none; background-image: url(../images/signs/3.png);
}
a:hover.sign3{ background-position:-156px 0; background-image: url(../images/signs/3ro.png);
}
a:active.sign3{ background-position:-156px 0; background-image: url(../images/signs/3ro.png);
}
Thanks!
teamcastanedas 2 weeks ago
@teamcastanedas @teamcastanedas @teamcastanedas I would recommend adding a class of "current" or "active" to the menu items. So, for example, you might have:
a:hover.sign3, a.sign3.current {background-position:-156px 0; background-image: url(../images/signs/3ro.png);}
Now your hyperlink must have the "current" class too.
Hope that helps.
- Freddy
kangomedia 2 weeks ago
it works with firefox, but at chrome it display only the text "home" with decoration also
khsana04 1 month ago
This is PERFECT. Exactly what I was looking for and it worked perfectly. Thanks so much man.
bruceaisher 2 months ago
@bruceaisher no prob man. anything i can do to help.
kangomedia 2 months ago
ive been learning html code and i must say i found this fairly useful in creating a test site
terrcraft18 3 months ago
@terrcraft18 Thanks. I appreciate it.
kangomedia 2 months ago
I am I just cant seem to get this to work Ive done every this right down to the from the code to the image I just cant seem to get this to work if anybody has any ideas please help
TheSxNxP 10 months ago
@TheSxNxP Surely you have solved the problem by now but I want to comment to help others. If you copy the HTML straight from the website you get a lot of additional junk that you dont need. You can clean the code by using firebug, you can check and edit in browser. Or code it manually. Or use a html scrubber.
AndroidAndr3w 6 months ago
thanks..
HawxTeamDelta 1 year ago
Hey, Freddy, thanks for your tutorial. Your system of instructing is outstanding.
graphmyster 1 year ago
thank you soo much. how do you make it so when they click on it the url goes to a new tab or window instead of having it open in the same page
LBProductions511 1 year ago
@LBProductions511 Simply insert target="_blank" into the hyperlink.
kangomedia 1 year ago
@kangomedia around what? sorry im really new at this. i know what the hyperlink is but idk like exactly where the target="_blank" goes. like what comes before it and after?
LBProductions511 1 year ago
Simple, explained clear and slow, and I can see what you were doing. Thanks, man. Way better than most out there. The text indent trick was one I was looking for forever and couldn't figure out...I couldn't get how people were getting images to show up with no content in the div. This explains it. Thanks!
iharrington 1 year ago
that was good, but can u make a tutorial about a drop down menu with rollover buttons? i would really apreciate it. thx. good work by the way :)
LordMordrag 2 years ago
does anyone know how to put a css rollover image in myspace? please help me :(
EricD12 2 years ago
I only get the words in my html page and not the image. Maybe I am not using the right path for my image Help!!!
bebright02 2 years ago
This helped me a lot. I appreciate it.
jadedconformist 2 years ago
This is an awesome tut, you should do some on html and css, you'll get so many views coz this is good stuff :D
ATLNothingPersonal 2 years ago
What happened to your website dude?
opeewann 3 years ago
cant see what your writing, its annoying. Good tutorial otherwise.
dblaps 3 years ago
Well spoken. Thanks for this! Much Appreciated.
I spent the last hour trying to discover a tutorial just like yours.
For the post above, try watching it in "high quality", I could see what he was doing far better.
opeewann 3 years ago
Hey dude, click on "Watch in High Quality", then fullscreen that badboy, you'll see the code properly.
DallasCowboys94Ware 3 years ago