1 reply [Last post]
Anonymous
Anonymous's picture
Guru
calgary,alberta
calgary,alberta

I have a problem with my CSS style sheets in Netscape 4.x. I have a simple product page that uses 2 cold fusion includes statements, a template header and template footer. The header has white URL
links these work fine. I did this with the following CSS code in the header
code.

.top A:link {color: white; text-decoration: none}
.top A:visited {color: white; text-decoration: none}
.top A:active {color: yellow; text-decoration: underline}
.top A:hover {color: yellow; text-decoration: underline}

<div class="top">header blah blah blah </div>

All the cold fusion includes lie within the html body tags of the product page, and this page is the only one with <html> tags.
The product main page is linked to a style sheet in the <head> tags;

<link rel="stylesheet" type="text/css"
href="http://localhost/pilot/universal.css">
<style type="text/css">
</style>

The problem im getting is that all my links in the main body of the page and footer are not visible because they are white. It seems that the header links are controlling the main page as well. Appear correct in IE however

My linked stylesheet has the following link colours set;

A:link {color: blue; text-decoration: underline}
A:visited {color: blue; text-decoration: underline}
A:active {color: red; text-decoration: underline}
A:hover {color: red; text-decoration: underline}

Does anyone out there know why Im getting this problem??
Crying

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 3 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

source

Hi BJ,
Could you view the source of the page in your browser and save the source as a file.
Then attach or link to it so we can see exactly whats going on as the browser gets it.
It would also be helpful to link to the css file.