0 Replies - 1381 Views - Last Post: 27 October 2006 - 05:09 AM

#1 josh06  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 14
  • View blog
  • Posts: 139
  • Joined: 27-October 06

to make rollover links

Posted 27 October 2006 - 05:09 AM

Description: add in head section OR make it in an external SS. in my code any links with the class 'button' will be made into this snippet if you get what I mean. You can miss the ul if you dont want the links in a list sort of thingMake links with a coloured background in a list that change colour as you roll over
ul
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a.button
{
float:left;
width:6em;
text-decoration:none;
color:blue;
background-color:#ffff00;
padding:0.2em 0.6em;
border-style: solid;
font-family: arial;

}
a.button:hover {background-color:#00ccff}
li {display:inline}


Is This A Good Question/Topic? 0
  • +

Page 1 of 1