The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Link..
Andrew315
post May 28 2007, 12:06 AM
Post #1


Member
***

Group: Members
Posts: 41
Joined: 31-January 07
Member No.: 1,739



ok well i knew i wasnt going to get a quick answer in css because i saw that it was only me and three guests.......my css link hover, visited, and active work but theregular link doesnt work..
heres the css:


<style type="text/css">

A:link {font-weight: bold; color: #ff0000;}

A:visited {font-weight: bold; color: #ff0000;}

A:active {font-weight: bold; color: #ff0000;}

A:hover {font-weight: bold; color: #000000;}

</style>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
JamieHarrop
post May 28 2007, 04:09 AM
Post #2


Advanced Member
****

Group: WDG Moderators
Posts: 129
Joined: 25-October 06
From: West Yorkshire, UK
Member No.: 570



Andrew, the problem is likely to be due to something else within your stylesheet that is effecting that particular style.

Can you give us a link to the site in question, or post the full stylesheet here?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 28 2007, 05:10 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



QUOTE(Andrew315 @ May 28 2007, 07:06 AM) *

ok well i knew i wasnt going to get a quick answer in css because i saw that it was only me and three guests.......my css link hover, visited, and active work but theregular link doesnt work..

How do you know? :link, :active and :hover use the same style. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Andrew315
post May 28 2007, 11:39 AM
Post #4


Member
***

Group: Members
Posts: 41
Joined: 31-January 07
Member No.: 1,739



That is the only thing in my stylesheet and it still doesnt work. and my site isnt posted yet,im just using notepad to create the pages and then upload them. And pandy i dont know what you mean.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Andrew315
post May 28 2007, 12:01 PM
Post #5


Member
***

Group: Members
Posts: 41
Joined: 31-January 07
Member No.: 1,739



below is the css and html pages

CSS:


<style type="text/css">
a:link {font-weight: bold; color: #ff0000;}
a:visited {font-weight: bold; color: #ff0000;}
a:active {font-weight: bold; color: #ff0000;}
a:hover {font-weight: bold; color: #000000;}
</style>



HTML:


<html>
<center>
Just to let you know, a movie of the 2007 Baja 500 will be up.<br>
<link rel="stylesheet" type="text/css" href="linkmed.css" />
<div id="links">
<a href="vid.htm">Videos</a><br>
<a href="pics.htm">Pictures</a><br>
<a href="slide.htm">Slideshows</a>
</center>
</html>


Attached File(s)
Attached File  linkmed.css ( 221bytes ) Number of downloads: 332
Attached File  med.htm ( 337bytes ) Number of downloads: 346
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Andrew315
post May 28 2007, 12:05 PM
Post #6


Member
***

Group: Members
Posts: 41
Joined: 31-January 07
Member No.: 1,739



nevermind...i needed to add div#links before a:link
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 09:46 AM