I'm a newbie here and a web design student. Can anyone help me please. I'm trying to make a button links but each time I tried it on the browser it's not working.
Thanks in advance, your help will be highly appreciated.
Best,
Nicole
10-12-2012, 11:24 AM
deepode
I don't get what you want to do, i guess you want to open link when a button is clicked. You can do this instead of making it button, in fact you must do this (unless you use PHP to open .php pages).
In html:
<a href="New_Topic.html">New Topics</a> In css:
.button {
padding: 2px; /*So border doesn't sting up with text*/
border: 1px solid black; /*Drawing 1 Pixel, Solid Black colored border */
border-radius:2px; /*Making border's round so it doesn't looks like rectangle (in short making it rounded rectangle) */
/* Some decorations */
background-color:gray;
color:black;
}
/*Some more decorations when hovered */
.button:hover {
background-color:blue;
}