15 Replies - 5615 Views - Last Post: 18 August 2011 - 03:03 AM
#1
Rollover button in Photoshop
Posted 09 June 2011 - 09:09 AM
Replies To: Rollover button in Photoshop
#2
Re: Rollover button in Photoshop
Posted 09 June 2011 - 09:29 AM
#3
Re: Rollover button in Photoshop
Posted 09 June 2011 - 11:01 AM
modi123_1, on 09 June 2011 - 09:29 AM, said:
Here are the buttons and the code.
Attached image(s)
Attached File(s)
-
index.html (747bytes)
Number of downloads: 86
#4
Re: Rollover button in Photoshop
Posted 09 June 2011 - 11:23 AM
Well your code is jacked up. Correct the apostrophes and double-quotes.
Hmm I can't see an image so either that didn't work, or work is blocking it.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>template</title>
<link type="text/css" rel="stylesheet" href="mlmtemplate.css" />
</head>
<body>
<div id="allcontent">
<div id="header">
This is testing the header section.
</div>
<img src="button7A.png" onmouseover="src='button7B.png'" onmouseout="src='button7A.png'">
<p>
This is the template for my business project.
sdjfajfjfasjfasdjf<br/>
jflkajsd;kfjlfj<br/>
dkfjkfjdkfjlkfj<br/>
jadkjfjfjfasjfk<br/>
djflkjfjdfjajf
</P>
</div>
</body>
</html>
#5
Re: Rollover button in Photoshop
Posted 09 June 2011 - 11:55 AM
Attached File(s)
-
Button7A.psd (255.69K)
Number of downloads: 58 -
Button7B.psd (261.1K)
Number of downloads: 56
This post has been edited by stayscrisp: 11 June 2011 - 12:54 PM
Reason for edit:: Don't quote the post above you :)
#6
Re: Rollover button in Photoshop
Posted 09 June 2011 - 12:01 PM
#7
Re: Rollover button in Photoshop
Posted 09 June 2011 - 12:49 PM

Attached image(s)
This post has been edited by stayscrisp: 11 June 2011 - 12:55 PM
#8
Re: Rollover button in Photoshop
Posted 09 June 2011 - 04:40 PM
#9
Re: Rollover button in Photoshop
Posted 10 June 2011 - 07:26 AM
This post has been edited by stayscrisp: 11 June 2011 - 12:55 PM
#10
Re: Rollover button in Photoshop
Posted 03 July 2011 - 06:54 AM
#yourimage
{
width: 100px;
height: 100px;
background-image(image.png);
}
#yourimage:hover
{
width: 100px;
height: 100px;
background-image(rollover.png);
}
Hope this helps
#11
Re: Rollover button in Photoshop
Posted 08 July 2011 - 11:24 AM
#12
Re: Rollover button in Photoshop
Posted 25 July 2011 - 03:54 PM
Tangela, on 03 July 2011 - 02:54 PM, said:
#yourimage
{
width: 100px;
height: 100px;
background-image(image.png);
}
#yourimage:hover
{
width: 100px;
height: 100px;
background-image(rollover.png);
}
Hope this helps
Even better you can use a single image and only display half of it, then "move" it (by changing the background-position property) in the hover pseudo-class.
What I'm talking about
This post has been edited by RetardedGenius: 25 July 2011 - 03:55 PM
#13
Re: Rollover button in Photoshop
Posted 16 August 2011 - 10:36 AM
#14
Re: Rollover button in Photoshop
Posted 16 August 2011 - 01:29 PM
These topics are old, and while that doesn't constitute as a necro thread you should know that it's frowned upon to drag up old topics to say what has already been said.
#15
Re: Rollover button in Photoshop
Posted 17 August 2011 - 01:27 AM
|
|

New Topic/Question
Reply


MultiQuote











|