RSS Forums RSS

How do i use the same style sheet?

Please support our Site Layout and Usability advertiser: Programming Forums
Reply
Posts: 774
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 40
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Master Poster

How do i use the same style sheet?

  #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 Website | About Cohen | Contact Cohen

If you would like assistants, pls do not PM me, post it in the appropriate area, and i'll be happy to help.
AddThis Social Bookmark Button
Reply With Quote  
Posts: 967
Reputation: hughv is an unknown quantity at this point 
Solved Threads: 73
hughv hughv is offline Offline
Posting Shark

Re: How do i use the same style sheet?

  #2  
Dec 29th, 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 4: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  
Posts: 774
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 40
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Master Poster

Re: How do i use the same style sheet?

  #3  
Dec 29th, 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 12:02 am.
Cohen's Website | About Cohen | Contact Cohen

If you would like assistants, pls do not PM me, post it in the appropriate area, and i'll be happy to help.
Reply With Quote  
Posts: 967
Reputation: hughv is an unknown quantity at this point 
Solved Threads: 73
hughv hughv is offline Offline
Posting Shark

Re: How do i use the same style sheet?

  #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 4: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  
Posts: 774
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 40
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Master Poster

Re: How do i use the same style sheet?

  #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 Website | About Cohen | Contact Cohen

If you would like assistants, pls do not PM me, post it in the appropriate area, and i'll be happy to help.
Reply With Quote  
Posts: 967
Reputation: hughv is an unknown quantity at this point 
Solved Threads: 73
hughv hughv is offline Offline
Posting Shark

Re: How do i use the same style sheet?

  #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  
Posts: 774
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 40
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Master Poster

Re: How do i use the same style sheet?

  #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 Website | About Cohen | Contact Cohen

If you would like assistants, pls do not PM me, post it in the appropriate area, and i'll be happy to help.
Reply With Quote  
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?

  #8  
Jan 7th, 2009
css file include in home page's html code..
Reply With Quote  
Posts: 774
Reputation: cohen is an unknown quantity at this point 
Solved Threads: 40
Featured Poster
cohen's Avatar
cohen cohen is offline Offline
Master Poster

Re: How do i use the same style sheet?

  #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 Website | About Cohen | Contact Cohen

If you would like assistants, pls do not PM me, post it in the appropriate area, and i'll be happy to help.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Site Layout and Usability Forum
Views: 1002 | Replies: 8 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:39 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC