Click to See Complete Forum and Search --> : about links and box rectangle


role
07-06-2003, 04:48 AM
hello guys,
i'm a newbie at developing web site
so i don't know this question is belong to which forum
i ask in javascript and html forum

i want to make a bunch of links and when the mouse over a link, the
link background color will change, and when mouse out, the link back to normal
then can a link make a box next to it that contains several new links

thanxx guys

xataku_nakusute
07-10-2003, 05:12 PM
i cant answer your rectangle problem, howeva i can help ya out on changin the link color and bgcolor using a quite easy css code....

in your <HEAD> section type:
<style type="text/css">
a
{
background: #your rgb for your normal links
}
a:hover
{
background: #your rgb for your links on mouseover
}
</style>

i hope that works for ya....

and if you want the rollover only to work on specific links, heres an example on how to do just that:

in your <HEAD> section type:
<style type="text/css">
a.classname
{
background: #your rgb for your normal links
}
a.classname:hover
{
background: #your rgb for your links on mouseover
}
</style>

and then in your <BODY> section, within your <A> tag:

<a class="classname" href="your url">

hope it helps ya a bit
umak ikimas yoni!

\\\\XaTaKu_NaKuSuTe////

XaTaKu.TK (http://www.xataku.tk/)