The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Website Linking
crazy010517
post Jul 25 2014, 12:12 AM
Post #1





Group: Members
Posts: 6
Joined: 14-July 14
Member No.: 21,252



How do I add a button that takes me to a website that's part of the website.
For example:

I want a button on the below website

www.randomwebsite.com

to take me to a website that's part of it.

www.randomwebsite.com/random

Thank you in advance.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 25 2014, 04:05 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Depending on what you mean with buttom one of these FAQ entries should fit.

http://htmlhelp.com/faq/html/links.html#button-link
http://htmlhelp.com/faq/html/images.html#linked-image

Or use a normal text link and style it to look like a button.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
illegit
post Aug 11 2014, 06:38 AM
Post #3


Newbie
*

Group: Members
Posts: 11
Joined: 3-July 14
Member No.: 21,197



QUOTE(crazy010517 @ Jul 25 2014, 01:12 PM) *

How do I add a button that takes me to a website that's part of the website.
For example:

I want a button on the below website

www.randomwebsite.com

to take me to a website that's part of it.

www.randomwebsite.com/random

Thank you in advance.


First off, it's not "a website that's part of the website." It's called a page on the website. smile.gif

Anyway as the above poster said, you can put a link and style it to look like a button. You can do something like:

CSS:
CODE
.button {
padding:20px;
color:#fff;
background:#f00;
text-decoration:none;
}


HTML:
CODE
<a class="button" href="http://www.randomwebsite.com/random">Your Button's Text</a>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 04:32 AM