Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't get new CSS style to work


aj7778

Recommended Posts

Hi,

 

I have pretty poor CSS/HTML/Php skills. I'm trying to get this page on my site

 

http://www.amadorajewellery.com.au/newsletter_success.php

 

to underline and change the colour of any links to pink and on mouseover, change the colour of the link to black. I've written this CSS and inserted it into stylesheet.css file

 

A:link.contentlinks  {
text-decoration: underline;
color: #fb5276;
}

A:hover.contentlinks  {
color: #000000; 
text-decoration: underline;
}

 

The content on the newsletter_success.php is located in the languages file. In this file I've surrounded the content between these tags:

 

<span class="contentlinks"> </span>

 

Can anyone tell me where I'm going wrong. It seems the main CSS styles are over riding my CSS.

 

Thanks

Link to comment
Share on other sites

When I look at the site, contact us is pink (or red -- I am partially colorblind :) been always bad with colors) and changes to black on mouseover.

 

Clear temp files on your machine (ie clear cache) - it's possible that old stylesheet is stored on your box and thus browser doesn't reflect changes you have made on the server.

 

It looks all OK to me.

Best Regards,
Gaurav

Link to comment
Share on other sites

When I look at the site, contact us is pink (or red -- I am partially colorblind :) been always bad with colors) and changes to black on mouseover.

 

Clear temp files on your machine (ie clear cache) - it's possible that old stylesheet is stored on your box and thus browser doesn't reflect changes you have made on the server.

 

 

Thanks for the advice. After further investigation, I've found that it works on Internet Explorer but not Firefox. It worked on Internet Explorer without clearing any of the files. I use Firefox that's why I thought it didn't work at all.

 

I tried clearing the cache and temp files before using Firefox and have found that the link changes colour to black and underlines but the "A:link" part of the CSS doesn't seem to work.

 

Any ideas?

Link to comment
Share on other sites

I am on FF right now, and it works in FF / Chrome & IE.

Any chance you are using a proxy somewhere (sometimes the cache is on the local proxy server - and doesn't get deleted thus you get data from local proxy.

 

Try to view your site using a web-proxy to fetch data once more.

 

Thx

Best Regards,
Gaurav

Link to comment
Share on other sites

I am on FF right now, and it works in FF / Chrome & IE.

Any chance you are using a proxy somewhere (sometimes the cache is on the local proxy server - and doesn't get deleted thus you get data from local proxy.

 

Try to view your site using a web-proxy to fetch data once more.

 

Thx

 

Arrh...fixed! I'm not using a proxy. I cleared the private data again and restarted FF. That seems to have done the trick. Thanks for your help, couldn't have solved it without you. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...