Print Page | Close Window

Adding a stylesheet for header and footer

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7087
Printed Date: 04 April 2026 at 2:13am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Adding a stylesheet for header and footer
Posted By: DanVet
Subject: Adding a stylesheet for header and footer
Date Posted: 07 November 2003 at 11:42am

I'd like to add a stylesheet link in my header just for the text that appears in the header and footer. Is there anyway I can do this without it affecting the main forum's stylesheet?

Hope this makes sense?

Dan.




Replies:
Posted By: Semikolon
Date Posted: 07 November 2003 at 11:57am
no.. only with an iframe


Posted By: DanVet
Date Posted: 07 November 2003 at 12:22pm

Don't know what an iframe is...  Cry

If I link to a seperate stylesheet and only use unusually named styles (i.e. stlyle names which won't be used in the forum) will it upset the forum's css?

 

 



Posted By: Semikolon
Date Posted: 07 November 2003 at 12:33pm

an iframe is an inline frame - a frame inside the main window..

if you create a class in your stylesheet (.nameoftheclass) then you can add that to the text, but it wont affect the background as that is on the whole page.. you can change the background of the cell the header is placed in..

in other words, format the text seperately.. thats the only way



Posted By: DanVet
Date Posted: 07 November 2003 at 1:03pm

Hmm - not sure I understand. Let me re-phrase my question.

  • The forum uses its own styles for formatting.
  • I want to use styles for formatting in my forum's header and footer (the inc files).
  • If I define a couple of styles to be used for this purpose at the top of the header.asp page, will this upset or affect the styles used in the main part of the forum?


Posted By: kmacy
Date Posted: 07 November 2003 at 1:09pm

just add the css styles to the forum stylesheet.



-------------
Ken Macy


Posted By: wistex
Date Posted: 08 November 2003 at 5:50pm

I had the same issue.  I wanted to include the same header and footer from the rest of my site, and wrap that around WWF.  My header and footer had their own CSS associated with them.  I just combined the CSS from my website with the CSS from Web Wiz Forums to get both.  It worked out fine.

Note: When you combine the two, you may need to make sure that WWF CSS tags and your CSS tags do not conflict (i.e. your classes can't have the same name as WWF classes).  I did have some conflicts when I first combined the two and had to tweak it to work as I intended it.  But the results were wonderful.  The average user can't even tell the difference between the forum and the rest of the website (unless you knew what to look for, of course).



-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums


Posted By: Semikolon
Date Posted: 09 November 2003 at 9:35am
yeah, but if you link a header.css to the header, default.css to the body and footer.css to the footer and the header contains body and table color properties the whole page will listen to the header.css file.. you have to make your own classes or it will fail.. i think that was DanVets problem.. or am i wrong?


Posted By: fernan82
Date Posted: 09 November 2003 at 10:46am
DanVets just asked if it would work using different classes than the ones WWF uses, the answer is yes, simple as that... you can use <style> tags on the header.asp too...

btw. All backgrounds on WWF are on the skin file, not the CSS, so I don't know what you're talking about and I don't think you do neither...


-------------
FeRnAN
http://www.danasoft.com/">


Posted By: uvena.com
Date Posted: 09 November 2003 at 2:25pm

Possible Solutions:

Add something to the default_style.css file (the default forum style sheet) and then change your header and footer text to relate to the new style.  Such as:

.mynewtext { font-family:#verdana; etc etc }

Then in the footer code, in the font tag, if there is a style predefined that you don't want to use in the header and footer.. put class=mynewtext.  Understand?  It wont mess with the forum css..  just what you specify to use that class for.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net