Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Css and snitz
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 14 March 2001 :  06:30:07  Show Profile  Visit Kat's Homepage
Hi.

I need to use an external stylesheet with the forums for the header I have to add. I can't get this external sheet to be recognised properly. The inline snitz style keeps overriding my links and i can't get it to accept my stylesheet classes.

This is the code:
<!--<link rel="stylesheet" type="text/css" href="/library/forum_only.css">-->
<link rel="stylesheet" type="text/css" href="/library/industry_forum.css">
<style type=text/css>
<!--
a:link {color:<% =strLinkColor %>;text-decoration:<% =strLinkTextDecoration %>}
a:visited {color:<% =strVisitedLinkColor %>;text-decoration:<% =strVisitedTextDecoration %>}
a:hover {color:<% =strHoverFontColor %>;text-decoration:<% =strHoverTextDecoration %>}
input.radio {background: <% = strPopUpTableColor %>; color:#000000}
-->
</style>


I have tried two external style sheets - the forums one is commented out because it doesn't work this way either. Any help would be appreciated.

It is the links that are the problem.

I don't have a url as it is on a test machine currently.

KatsKorner

redbrad0
Advanced Member

USA
3725 Posts

Posted - 14 March 2001 :  06:56:21  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
maybe try this....


<style type=text/css>
<!--
a:link {color:<% =strLinkColor %>;text-decoration:<% =strLinkTextDecoration %>}
a:visited {color:<% =strVisitedLinkColor %>;text-decoration:<% =strVisitedTextDecoration %>}
a:hover {color:<% =strHoverFontColor %>;text-decoration:<% =strHoverTextDecoration %>}
input.radio {background: <% = strPopUpTableColor %>; color:#000000}
-->
</style>
<link rel="stylesheet" type="text/css" href="/library/industry_forum.css">




Brad
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 14 March 2001 :  06:59:54  Show Profile  Visit Kat's Homepage
Already did - no good but thanks.

I fixed it by adding this to the inline snitz style:

a:link {color:<% =strLinkColor %>;text-decoration:<% =strLinkTextDecoration %>}
a:visited {color:<% =strVisitedLinkColor %>;text-decoration:<% =strVisitedTextDecoration %>}
a:hover {color:<% =strHoverFontColor %>;text-decoration:<% =strHoverTextDecoration %>}
input.radio {background: <% = strPopUpTableColor %>; color:#000000}
a:link.1 {color:#FFFFFF;text-decoration:none;}
a:visited.1 {color:#FFFFFF;text-decoration:none;}
a:hover.1 {color:#FFFFFF;text-decoration:none;}
a:link.2 {color:#666666;text-decoration:none;}
a:visited.2 {color:#666666;text-decoration:none;}
a:hover.2 {color:#666666;text-decoration:none;}


and then assigning the relevant classes to my header and footer links.

KatsKorner
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 14 March 2001 :  14:06:08  Show Profile
Any styles that a are on the page over-rides any external styles sheets.
Inline styles comes first, then implemented styles (meaning the styles are in the header), then external styles.
You would have to move the snitz styles into your external style sheet, or do the way you mentioned in your last post.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07