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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 CSS
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pyrodude
Junior Member

101 Posts

Posted - 23 February 2003 :  17:40:01  Show Profile
How would I make a page in the forum show links with CSS?
What are the strings for CSS?

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 24 February 2003 :  04:39:32  Show Profile  Visit Kat's Homepage
Can you explain a little more what you are hoping to do?

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 24 February 2003 :  05:19:34  Show Profile
Try downloading the trial version of TopStyle (at http://www.bradsoft.com/) which is in my opinion the best CSS-editor available. Use and read the help files to get some more information.
You can also try going to http://www.w3schools.com/css/default.asp to learn CSS.
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 24 February 2003 :  06:26:48  Show Profile  Visit Kat's Homepage
I would second topstyle - it is excellent..

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

pyrodude
Junior Member

101 Posts

Posted - 24 February 2003 :  07:38:17  Show Profile
Oh, thats not what I meant. I was trying to say, how could I make a page in the forum use the forum's CSS styles? I already know CSS, but wanted the page to just be able to get the forum CSS so I wouldn't have to redo the colors each time I changed something on the Forum.

Thanks
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 24 February 2003 :  07:41:50  Show Profile  Visit Kat's Homepage
There is hardly any CSS in the forum at present. Which CSS are you talking about? the only css in the forum is in inc_header.asp line 263:

"<style type=""text/css"">" & vbNewLine & _
		"<!--" & vbNewLine & _
		"a:link    {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
		"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
		"a:hover   {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
		"a:active  {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:link    {color:" & strForumLinkColor & ";text-decoration:" & strForumLinkTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:visited {color:" & strForumVisitedLinkColor & ";text-decoration:" & strForumVisitedTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:hover   {color:" & strForumHoverFontColor & ";text-decoration:" & strForumHoverTextDecoration & "}" & vbNewLine & _
		".spnMessageText a:active  {color:" & strForumActiveLinkColor & ";text-decoration:" & strForumActiveTextDecoration & "}" & vbNewLine & _
		".spnSearchHighlight {background-color:" & strSearchHiLiteColor & "}" & vbNewLine & _
		"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _
		"-->" & vbNewLine & _
		"</style>" & vbNewLine & _

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

pyrodude
Junior Member

101 Posts

Posted - 24 February 2003 :  23:15:09  Show Profile
Ohhh, I thought that the link rollover color changes were CSS. Well, how do I get my own include file to have its links color change on rollover like the rest of the forum?
Go to Top of Page

TestMagic
Senior Member

USA
1568 Posts

Posted - 24 February 2003 :  23:23:53  Show Profile  Visit TestMagic's Homepage
I added a couple of CSS tweaks, and put the code in inc_header.asp. Worked for me. Just make sure you do the code right.

If you're not sure how to do the code, I can post a snippet of my code for you here.

Snitz rocks! · Search 2
Go to Top of Page

pyrodude
Junior Member

101 Posts

Posted - 25 February 2003 :  07:23:12  Show Profile
Would you?
I know next to nothing about ASP...
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 25 February 2003 :  08:46:43  Show Profile  Visit Kat's Homepage
www.w3schools.com

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

TestMagic
Senior Member

USA
1568 Posts

Posted - 25 February 2003 :  17:12:48  Show Profile  Visit TestMagic's Homepage
Okay, from my inc_header.asp, around line 278 (I've got a couple MODs installed, though), I've added this line of code to CSS my textareas and h1 tag:


		"// done hiding -->" & vbNewLine & _
		"</script>" & vbNewLine & _
		"<style type=""text/css"">" & vbNewLine & _
                "INPUT, SELECT, TEXTAREA{ color: #666666; font : normal 10pt Trebuchet, Verdana, Helvetica, Arial; background : #FFFFFF; background-image: url(../images/graphics/textarea_shadow.gif); margin : 0px 0px 0px 0px; } h1 {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 28px; font-style: normal; color: #3300FF} " & vbNewLine & _        
		"<!--" & vbNewLine & _
		"a:link    {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
		"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
		"a:hover   {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
		"a:active  {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _



Play with that for a while and let me know if you have any problems. I remember I had to mess around with the end part (to force a new line) before I could get it to work properly.

Snitz rocks! · Search 2
Go to Top of Page

Feral
Starting Member

2 Posts

Posted - 27 April 2003 :  19:10:05  Show Profile
Excelent stuff, just what I was searching for :) Thanks
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