Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Adding a stylesheet for header and footer
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding a stylesheet for header and footer

 Post Reply Post Reply Page  12>
Author
DanVet View Drop Down
Newbie
Newbie
Avatar

Joined: 23 July 2003
Location: United Kingdom
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote DanVet Quote  Post ReplyReply Direct Link To This Post Topic: Adding a stylesheet for header and footer
    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.

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2003 at 11:57am
no.. only with an iframe
Back to Top
DanVet View Drop Down
Newbie
Newbie
Avatar

Joined: 23 July 2003
Location: United Kingdom
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote DanVet Quote  Post ReplyReply Direct Link To This Post 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?

 

 

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
DanVet View Drop Down
Newbie
Newbie
Avatar

Joined: 23 July 2003
Location: United Kingdom
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote DanVet Quote  Post ReplyReply Direct Link To This Post 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?


Edited by DanVet
Back to Top
kmacy View Drop Down
Groupie
Groupie
Avatar

Joined: 15 March 2002
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote kmacy Quote  Post ReplyReply Direct Link To This Post Posted: 07 November 2003 at 1:09pm

just add the css styles to the forum stylesheet.

Ken Macy
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post 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).

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.