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

Posts: 217
Location: Australia
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 08:01 AM.
Ickie is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-14-2005, 07:45 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Lack of Inspiration
Posts: 3,572
Location: in a distant land far away from reality
hmm.. wonder what you mean by not taking effect..

IE 6 sp2. and it works fine..
__________________
Praveen
Web Tools - Smilies - Celebs - Bookmarks - Indian Food - Create a Poll

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 05-14-2005, 07:51 AM
Ickie's Avatar
Extreme Talker

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

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

Latest Blog Post:
Lack of Inspiration
Posts: 3,572
Location: in a distant land far away from reality
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, 10 views)
__________________
Praveen
Web Tools - Smilies - Celebs - Bookmarks - Indian Food - Create a Poll

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 05-14-2005, 08:38 AM
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
hmm im not sure but prehaps its the uppercase letters.. I dunno.. does that make a difference... ??
__________________
Yes, indeed...
WebDevWorld.net | StrangeDarkness.com | MyNEWBlog
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
Old 05-14-2005, 08:44 AM
Ickie's Avatar
Extreme Talker

Posts: 217
Location: Australia
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, 09:21 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Lack of Inspiration
Posts: 3,572
Location: in a distant land far away from reality
brokensoul2271,

case sensitivity doesnt matter..

Ickie,

update to the latest firefox and check. it works fine in that as well.
__________________
Praveen
Web Tools - Smilies - Celebs - Bookmarks - Indian Food - Create a Poll

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 05-14-2005, 10:36 AM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,167
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
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, 07:50 PM
Nanobot's Avatar
Novice Talker

Posts: 6
Location: California, USA
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.
__________________
Web browser standards support charts - Contributions are welcome
Nanobot is offline
Reply With Quote
View Public Profile Visit Nanobot's homepage!
 
Old 05-15-2005, 11:56 PM
Webmaster Talker

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

Thread Tools

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

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