Login | Register | FAQ
Anonymous

Links design

+ Post a reply

7 posts Page 1 of 1


Links design

by Nilutpal Boruah » Fri May 17, 2013 2:27 pm

Can I design a link button with colors and size.?
User avatar

Nilutpal Boruah

  • Posts: 63
  • Joined: Tue May 14, 2013 2:02 pm

Re: Links design

by XainPro » Sat May 18, 2013 10:54 am

yes you can
add attribute to the button like
class="myDesign"
and in CSS write code like
.myDesign {
color:red;
}

etc
i hope this helps
User avatar

XainPro

  • Posts: 3616
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Links design

by Nilutpal Boruah » Sun May 19, 2013 6:29 am

Can you please write the whole code
User avatar

Nilutpal Boruah

  • Posts: 63
  • Joined: Tue May 14, 2013 2:02 pm

Re: Links design

by XainPro » Sun May 19, 2013 6:43 am

Here is code

<html>
<head>
<title>title</title>
<style type="text/css">
.linkdesign {
color:#0F0;
text-decoration:none;
}
</style>
</head>
<body>
<a class="linkdesign" href="#">Link Design</a>
</body>
</html>
User avatar

XainPro

  • Posts: 3616
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Links design

by Nilutpal Boruah » Sun May 19, 2013 3:52 pm

What about giving a background like that fb sign up button?
User avatar

Nilutpal Boruah

  • Posts: 63
  • Joined: Tue May 14, 2013 2:02 pm

Re: Links design

by XainPro » Sun May 19, 2013 8:44 pm

Nilutpal Boruah Try to experiment things

Code: Select all
<html>
<head>
<title>title</title>
<style type="text/css">
.linkdesign {
color:#FFF;
text-decoration:none;
height:80px;
width:100px;
background-color:#090;
font-weight:bold;
padding:10px;
}
.linkdesign:hover {
background-color:#0C0;
}
</style>
</head>
<body>
<a class="linkdesign" href="#">SignUp</a>
</body>
</html>
User avatar

XainPro

  • Posts: 3616
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Links design

by Nilutpal Boruah » Mon May 20, 2013 4:22 am

Thank u it's working.. But that height:80px; and width:100px; still does not work.. Can it be worked.
User avatar

Nilutpal Boruah

  • Posts: 63
  • Joined: Tue May 14, 2013 2:02 pm


+ Post a reply

Page 1 of 1

?>