Be a Supporter!

css problem

  • 430 Views
  • 4 Replies
New Topic Respond to this Topic
rmbrstrongbad18
rmbrstrongbad18
  • Member since: Dec. 23, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
css problem 2006-11-05 10:42:02 Reply

<link rel="stylesheet" type="text/css" href="link.css" />
[A href="link.htm"]Forums[/A]

I didn't actually use brackets for the link and the "link.htm" is not the forum link and the href to css page isn't real either. This is the code in the css page, though:

<style type="text/css">
body{background:black; color:white}
a:link {color:yellow; text-decoration:none}
a:hover {color:white; text-decoration:none}
a:visited {color:yellow; text-decoration:none}
.navigationbar {background-color:blue}
</style>

The link afterward still remains blue, and I don't know why; that is how you import stylesheets, right?

Loccie
Loccie
  • Member since: Feb. 27, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to css problem 2006-11-05 10:51:04 Reply

At 11/5/06 10:42 AM, rmbrstrongbad18 wrote: <link rel="stylesheet" type="text/css" href="link.css" />
[A href="link.htm"]Forums[/A]

I didn't actually use brackets for the link and the "link.htm" is not the forum link and the href to css page isn't real either. This is the code in the css page, though:

<style type="text/css">
body{background:black; color:white}
a:link {color:yellow; text-decoration:none}
a:hover {color:white; text-decoration:none}
a:visited {color:yellow; text-decoration:none}
.navigationbar {background-color:blue}
</style>

The link afterward still remains blue, and I don't know why; that is how you import stylesheets, right?

Is <link rel="stylesheet" type="text/css" href="link.css" /> between the <head> and </head> tags? If so I don't see a problem but I must ask one thing. You close <link ...> the proper Xhtml way but still you write you link html in caps, why?

rmbrstrongbad18
rmbrstrongbad18
  • Member since: Dec. 23, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to css problem 2006-11-05 12:16:47 Reply

oh, i thought that was the proper html way. sorry, i'll change that, and also it wasn't in the <head></head> tags, so i'll change that too

rmbrstrongbad18
rmbrstrongbad18
  • Member since: Dec. 23, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to css problem 2006-11-05 12:21:54 Reply

it still didn't work. let me post the entire page code, censoring relevant website language and changing A tags so that they won't be converted to links:

<html>
<head>
<Title>Almost blank profiles</Title>
<link rel="stylesheet" type="text/css" href="www.kylemaster.com/bar.css">
</head>
<body>
[A href="link.htm"]Forums[/A]
<p>Almost blank profiles provide nothing in particular, but try it for your myspace for the sake of it.</p>
<p>&lt;style type="text/css"&gt; .text {display:none} &lt;/style&gt;</p>
</body>
</html>

the css page is above. I don't know what's wrong that makes it so that the link is still blue.

rmbrstrongbad18
rmbrstrongbad18
  • Member since: Dec. 23, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to css problem 2006-11-05 12:33:06 Reply

never mind, i got it