How do i use the same style sheet?

Please support our Site Layout and Usability advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Nov 2008
Posts: 816
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 42
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Practically a Posting Shark

How do i use the same style sheet?

 
0
  #1
Dec 29th, 2008
Hello Guys,

how do i use the same style sheet for the forum.

i have my home, and i have my forum...

what do i do??

Thanks,

Cohen
Cohen's Site www.cohenl.com

Do not PM me for support!!!
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,082
Reputation: hughv is on a distinguished road 
Solved Threads: 86
hughv hughv is offline Offline
Veteran Poster

Re: How do i use the same style sheet?

 
0
  #2
Dec 30th, 2008
This line references the Style sheet for your Home:
  1. <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
You show two stylesheets for your forum:
  1. <link rel="stylesheet" type="text/css" href="http://computer.forums.central-forums.net/Themes/babylon/style.css?fin11" />
  2. <link rel="stylesheet" type="text/css" href="http://computer.forums.central-forums.net/Themes/default/print.css?fin11" media="print" />
The second one looks like a print stylesheet, so just change the relevant entries in the first one, or substitute the home style sheet.
Last edited by peter_budo; Jan 7th, 2009 at 5:57 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
BS, PH, CIB
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 816
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 42
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Practically a Posting Shark

Re: How do i use the same style sheet?

 
0
  #3
Dec 30th, 2008
Thanks,

You might also be able to help out with my other problem - http://www.daniweb.com/forums/thread164847.html - It would be great if you could!

Also, where do i insert the code??? do i get the style sheet on the forum or what???

Thanks,

Cohen
Last edited by cohen; Dec 30th, 2008 at 1:02 am.
Cohen's Site www.cohenl.com

Do not PM me for support!!!
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,082
Reputation: hughv is on a distinguished road 
Solved Threads: 86
hughv hughv is offline Offline
Veteran Poster

Re: How do i use the same style sheet?

 
0
  #4
Dec 30th, 2008
The easiest way might be to copy style.css to your forum folder and change this line:
  1. <link rel="stylesheet" type="text/css" href="http://computer.forums.central-forums.net/Themes/babylon/style.css?fin11" />
To:
  1. <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
Your other problem is a bad link:
This:
a href="www.central-forums.net"
Should be:
a href="http://www.central-forums.net/forums/#"
Note that your other menu links need to be changed also.
You can read more about how links are formed here:
http://www.w3schools.com/HTML/html_links.asp
I think I have all that right, but let me know if anything gets broken.
Last edited by peter_budo; Jan 7th, 2009 at 5:58 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
BS, PH, CIB
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 816
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 42
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Practically a Posting Shark

Re: How do i use the same style sheet?

 
0
  #5
Dec 30th, 2008
Originally Posted by hughv View Post
The easiest way might be to copy style.css to your forum folder and change this line:
<link rel="stylesheet" type="text/css" href="http://computer.forums.central-forums.net/Themes/babylon/style.css?fin11" />
To:
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
Where do i change this line??? i can't find it... i have copied the style.css file to my forum folder, now what?

Sorry, i'm a newb at this.

Cohen
Cohen's Site www.cohenl.com

Do not PM me for support!!!
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,082
Reputation: hughv is on a distinguished road 
Solved Threads: 86
hughv hughv is offline Offline
Veteran Poster

Re: How do i use the same style sheet?

 
0
  #6
Dec 30th, 2008
On this page:
http://www.computer.forums.central-forums.net/
In Dreamweaver I believe this can be seen in Code View
I'm not a php expert, but every page will need to reflect this change if you want them all to use this stylesheet.
BS, PH, CIB
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 816
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 42
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Practically a Posting Shark

Re: How do i use the same style sheet?

 
0
  #7
Dec 30th, 2008
Originally Posted by hughv View Post
On this page:
http://www.computer.forums.central-forums.net/
In Dreamweaver I believe this can be seen in Code View
I'm not a php expert, but every page will need to reflect this change if you want them all to use this stylesheet.
Alright, Thanks for your help.



Cohen
Cohen's Site www.cohenl.com

Do not PM me for support!!!
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 13
Reputation: Joyce Sullivan is an unknown quantity at this point 
Solved Threads: 2
Joyce Sullivan Joyce Sullivan is offline Offline
Newbie Poster

Re: How do i use the same style sheet?

 
0
  #8
Jan 7th, 2009
css file include in home page's html code..
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 816
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 42
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Practically a Posting Shark

Re: How do i use the same style sheet?

 
0
  #9
Jan 10th, 2009
Alright, i have a bit more of a play with it...

I'll do that sometime this week and get back to you guys.

Thanks,

Cohen
Cohen's Site www.cohenl.com

Do not PM me for support!!!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Site Layout and Usability Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC