English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know how to make a clickable link, but how do you make it a different color, Centered, and a bigger font all at the same time?

2007-03-23 14:42:18 · 6 answers · asked by Anonymous in Computers & Internet Programming & Design

6 answers

::Inline Style Method::
LINK TEXT HERE

::StyleSheet Method (internal)::
...




LINK TEXT HERE
...

::StyleSheet Method (External)::
the same code is applied above, but placed into a .css file and uploaded elsewhere. In place of the style tag goes a link tag:



::Additional Details::
Since you asked about changing link color, I'm assuming you are less than familiar with color codes. You can specify the color of an element in a few different ways:
-keywords (such as 'red', 'blue', or 'green')
-RGB decimal
-RGB percentage
-hexadecimal

Rather than go into detail (since this info is readily available to anyone willing to look online), I'll just give an example of each. The codes below each would produce a green color:

color: green;
color: rgb(0,255,0);
color: rgb(0,100%,0);
color: #00FF00;
color: #0F0;

2007-03-26 17:30:48 · answer #1 · answered by d3v10u5b0y 6 · 0 0

Alrighty, I'm a pro webmaster on my site www.lukeishere.com. So I shall help you!

Clickable links would use this code: CLICKABLE TEXT

For color, you could do one of two things. You can use tags, such as , and place the linking code inside it.

A more complicated way would be to insert it into the BODY tag. There are three options. Alink, which is for links that have been clicked and you are now being directed, Vlink, for a link you have already visited, and just link for link colors. So for example, just a link color would look like this:



And you can fill out the hex code to your needs.

For centering, you use just simple text centering. You can use either

and place the link code in the middle or just
and place the link code in the middle of that.

For bigger font, you would use simple text font sizes, using the codes and place the link code in the middle of that.

So one link with all the features would look like this:

answer #2 · answered by Luke K (www.lukeishere.com) 2 · 0 0

WRONG radden419

that site looks as if it knows NOTHING about website design,

the easyiest way to define colours and fonts is within a css document

eg

THIS IS THE HTML









THIS IS THE CSS

#div.1 {
color:#000000;
font-size:24px;
}

( make your css sheet, then link to it using the following )

answer #3 · answered by glynn.alexander 3 · 0 0

Jeez I do wish these "pro" webmasters would actually attempt to learn their trade.

The tag in html was removed from WC3 recommendations way back and all webmasters were advised to use CSS to style their documents.

my css suggestion would be
a {color: whatever;text-align: center;font-size:whateverem}

2007-03-27 05:34:07 · answer #4 · answered by EspritDogs 2 · 0 0

Link color is added in the using

a:link would be the color the link would be.

after you do that, you can then put in the links in the



website.com



check source for font size tutorial.

2007-03-23 22:01:54 · answer #5 · answered by Anonymous · 0 0



put that between your tags. Also you should read up on CSS

http://www.htmldog.com/guides/cssbeginner/

2007-03-23 21:48:05 · answer #6 · answered by David B 4 · 1 1

fedest.com, questions and answers