Link Colours.

Started on the old forum in June 2007 · view the original in the archive · old links redirect here

1 reply · 467 views · started 19 years ago · 1 min read

2 participants
nclemale36 Lead · 537 posts #1

what do i need to do to get black links instead of the normal blue. oh sorry am using php scripts

thanks in advance

GumSlone Administrator Principal · 1,690 posts #2

what do i need to do to get black links instead of the normal blue. oh sorry am using php scripts

thanks in advance

Have you read the tutorials here at forums?

Here is an example, but you can also do it with css.

HTML Attributes to Specify Color

If one of the following <BODY> attributes is used, they all should be specified in order to avoid color conflicts; for example, you may assign a backgound color and a visitor may have his/her browser set to display text in the same color, making your page unreadable. All these attributes should be specified in a single <BODY> tag.

<BODY BGCOLOR="#ff6600"> sets the background color for the page as a whole. <BODY TEXT="#ff6600"> sets the text color for the page as a whole. <BODY LINK="#ff6600"> sets the unvisited link color for the page as a whole. <BODY VLINK="#ff6600"> sets the visited link color for the page as a whole. <BODY ALINK="#ff6600"> sets the activated link color (i.e. the color of the link as users click on it) for the page as a whole.

sample text sets the color of selected text within a page.

Although the following attributes are not included in the HTML 3.2 specification for <TABLE>, <TH>, and <TD> elements, they are included in the HTML 4.0 proposal and have been supported by Netscape since version 3.0 and by Internet Explorer since version 2.0.

<TABLE BGCOLOR="#ff6600"> sets the background color for an entire table. <TH BGCOLOR="#ff6600"> sets the background color for one header cell within a table. <TD BGCOLOR="#ff6600"> sets the background color for one data cell within a table.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close