Can someone help me out please. I would like to know how to do the same effect like on this page. When you move the mouse over the selected text (i.e Car Wash Tint) it highlights the text. Here is the url link to the website
http://www.decileart...rials.photoshop
Thanks for the help.
highlighting
Started by user_f_ps_other, Jun 13 2005 01:53 PM
4 replies to this topic
#1
Posted 13 June 2005 - 01:53 PM
#2
Posted 13 June 2005 - 02:07 PM
My guess is that its done in CSS (Cascading Style Sheets), i know that you can make the background colour of a link change when you hover the mouse over it, and by the looks of things they have made a big area work as a link so that when the mouse hovers over, the background changes colour...
Here is an exmaple of the CSS code needed to make the background colour to a link change when the mouse hovers over...
I'm not expert at CSS, but i hope this helps, i'm sure there are some other people/tutorials that will help
Here is an exmaple of the CSS code needed to make the background colour to a link change when the mouse hovers over...
A:hover {
color : #704033;
text-decoration : none;
}
I'm not expert at CSS, but i hope this helps, i'm sure there are some other people/tutorials that will help
#3
Posted 13 June 2005 - 09:27 PM
that just changes the text color on a rollover.
if you want the background to actually highlight you must use javascript and utilize the background color for tables.
so you would place your text within a <tr> and the <tr> code would look somethin glike this:
<td bgcolor="#colorhere" onmouseover="this.style.background='#colorhere'" onmouseout="this.style.background='#colorhere'">
You can see a working example on my site at kschembri.com.
if you want the background to actually highlight you must use javascript and utilize the background color for tables.
so you would place your text within a <tr> and the <tr> code would look somethin glike this:
<td bgcolor="#colorhere" onmouseover="this.style.background='#colorhere'" onmouseout="this.style.background='#colorhere'">
You can see a working example on my site at kschembri.com.
#4
Posted 14 June 2005 - 12:12 PM
Thanks kschembri that's what I was after.
#5
Posted 14 June 2005 - 04:02 PM
user_f_ps_other, on Jun 14 2005, 05:12 PM, said:
Thanks kschembri
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
