Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 07-19-2005, 02:33 PM The "body" tag, etc.
MrBob77's Avatar
Novice Talker

Posts: 7
Location: Texas
Trades: 0
I have an external styles.css file with:

body (
a:link; text-decoration: none; color: green;
a:visited; text-decoration: none; color: red;
a:hover; text-decoration: none; color: yellow;
a:active; text-decoration: none; color: blue;
}

using funky colors to test my links but this dos not seem to work at all.
What must I put in the body tag within the page's HTML code to make this work??
I'm new with CSS, trying to learn.
Can anyone suggest a solution?
Thank you.
MrBob77
MrBob77 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-19-2005, 03:48 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
nothing!

the syntax is
a:link {
definitions;
}

W3 Schools
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 07-19-2005 at 03:50 PM.. Reason: added link
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-20-2005, 08:14 PM
Junior Talker

Posts: 2
Trades: 0
Here is a simple example:

HTML Code:
<html>
<head>
	<title>Page title</title>
	<style>
		a:link {text-decoration: none; color: green}
		a:visited {text-decoration: none; color: red}
		a:hover {text-decoration: none; color: yellow}
		a:active {text-decoration: none; color: blue}
	</style>
</head>

<body>

...

</body>
</html>
Xarp is offline
Reply With Quote
View Public Profile
 
Old 07-24-2005, 10:37 AM Thanks
MrBob77's Avatar
Novice Talker

Posts: 7
Location: Texas
Trades: 0
Thank you for the reply and example.
MrBob77 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to The "body" tag, etc.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26092 seconds with 12 queries