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.

CSS Forum


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



Reply
Basic CSS, not taking affect..
Old 05-14-2005, 08:37 AM Basic CSS, not taking affect..
Ickie's Avatar
Extreme Talker

Posts: 217
Location: Australia
Trades: 0
Code:
<HTML>

<HEAD>
<title>Ickie</title>
<STYLE TYPE="text/css">
<!--
BODY
   {
   color:#808080;
   background-color:#FFFFFF;
   font-family:Verdana;
   font-size: 70%
   }
A:link {text-decoration: none; color: #808080;}
A:active {text-decoration: none; color: #808080;}
A:visted {text-decoration: none; color: #808080;}
A:hover {text-decoration: none; color: #FF9900;}
-->
</STYLE>
</HEAD>

<BODY>
<a href="http://www.steel-fish.com">Steel-Fish</a>
</BODY>

</HTML>
I've taken OmuCuSucu seriously and started to use pure text editor skills, and trashed MircoSoft FrontPage (2003 edition I mite add).

Im newb to CSS, and basicly read how it works (+comments from OmuCuSucu) on w3. And now I know how to do the basic link color set, no decoration etc etc off by heart (fast learner.. then agian not much to learn).

Now... for some reason the above code is not working/taking affect. Please explain o_O

EDIT: What I mean by not taking affect is the Hyperlink is staying purple (underline) when I have told it to not underline and a color #808080...

Last edited by Ickie; 05-14-2005 at 09:01 AM..
Ickie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-14-2005, 08:45 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
hmm.. wonder what you mean by not taking effect..

IE 6 sp2. and it works fine..
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 05-14-2005, 08:51 AM
Ickie's Avatar
Extreme Talker

Posts: 217
Location: Australia
Trades: 0
What color are your links before you hover/click on them?

Last edited by Ickie; 05-14-2005 at 08:55 AM..
Ickie is offline
Reply With Quote
View Public Profile
 
Old 05-14-2005, 09:32 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
here is as screenshot of the two states

the one on the left is the normal one

and the one to the right is the "hover" state
Attached Images
File Type: jpg screenshot.JPG (1.5 KB, 11 views)
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 05-14-2005, 09:38 AM
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
Trades: 0
hmm im not sure but prehaps its the uppercase letters.. I dunno.. does that make a difference... ??
__________________
Yes, indeed...

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
Old 05-14-2005, 09:44 AM
Ickie's Avatar
Extreme Talker

Posts: 217
Location: Australia
Trades: 0
Ok thanks praveen, Im getting a purple link with underline... using Firefox v1.0.1, I have no idea why mines different.

Anyways, the way yours look is they way I meant to it too. Thanks
Ickie is offline
Reply With Quote
View Public Profile
 
Old 05-14-2005, 10:21 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
brokensoul2271,

case sensitivity doesnt matter..

Ickie,

update to the latest firefox and check. it works fine in that as well.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 05-14-2005, 11:36 AM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
Trades: 0
try setting the attributes for a aswell ... without :link :hover :active :visited

check back and tell us if that fixed it

also: case only matters if you are writting it in xhtml, html has no problem with upper/lower case
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
OmuCuSucu is offline
Reply With Quote
View Public Profile
 
Old 05-15-2005, 08:50 PM
Nanobot's Avatar
Novice Talker

Posts: 6
Location: California, USA
Trades: 0
I'm surprized no one has noticed it yet. You misspelled "visited". The reason it works for some people is that they haven't visited that link yet.
__________________

Please login or register to view this content. Registration is FREE
- Contributions are welcome
Nanobot is offline
Reply With Quote
View Public Profile Visit Nanobot's homepage!
 
Old 05-16-2005, 12:56 AM
Super Moderator

Posts: 1,576
Location: Kokkola, Finland
Trades: 1
also your link order needs to be link, visited, hover, active
davemies is online now
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Reply     « Reply to Basic CSS, not taking affect..
 

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.66301 seconds with 13 queries