Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Style sheet settings are being overridden.

Status
Not open for further replies.

bigdavidt

Programmer
Feb 12, 2004
52
US
I am working on a web page that uses an external style sheet to set color and underline properties for the links. I use PHP to import an HTM file into the data cell of a table. I discovered that the code that sets link properties for the htm file overrides the settings in my style sheet. I proved this by opening the htm file with Notepad and taking out the code for setting the link properties.

Are there any style settings that will alleviate this problem?

I have the problem text from the HTM file and from the style sheet below:



a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}



<style type="text/css">
<!--
a:link { color: white; text-decoration: none}
a:visited { color: white; text-decoration: none }
a:hover { color: white; text-decoration: underline }
a:active { color: white; text-decoration: none }
a:focus { color: white; text-decoration: none }
-->
</style>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top