943,696 Members | Top Members by Rank

Ad:
Dec 29th, 2008
0

How do i use the same style sheet?

Expand Post »
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
Similar Threads
Featured Poster
Reputation Points: 46
Solved Threads: 45
Practically a Posting Shark
cohen is offline Offline
819 posts
since Nov 2008
Dec 30th, 2008
0

Re: How do i use the same style sheet?

This line references the Style sheet for your Home:
html Syntax (Toggle Plain Text)
  1. <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
You show two stylesheets for your forum:
html Syntax (Toggle Plain Text)
  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.
Reputation Points: 116
Solved Threads: 93
Veteran Poster
hughv is offline Offline
1,132 posts
since Oct 2007
Dec 30th, 2008
0

Re: How do i use the same style sheet?

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.
Featured Poster
Reputation Points: 46
Solved Threads: 45
Practically a Posting Shark
cohen is offline Offline
819 posts
since Nov 2008
Dec 30th, 2008
0

Re: How do i use the same style sheet?

The easiest way might be to copy style.css to your forum folder and change this line:
html Syntax (Toggle Plain Text)
  1. <link rel="stylesheet" type="text/css" href="http://computer.forums.central-forums.net/Themes/babylon/style.css?fin11" />
To:
html Syntax (Toggle Plain Text)
  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.
Reputation Points: 116
Solved Threads: 93
Veteran Poster
hughv is offline Offline
1,132 posts
since Oct 2007
Dec 30th, 2008
0

Re: How do i use the same style sheet?

Click to Expand / Collapse  Quote originally posted by hughv ...
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
Featured Poster
Reputation Points: 46
Solved Threads: 45
Practically a Posting Shark
cohen is offline Offline
819 posts
since Nov 2008
Dec 30th, 2008
0

Re: How do i use the same style sheet?

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.
Reputation Points: 116
Solved Threads: 93
Veteran Poster
hughv is offline Offline
1,132 posts
since Oct 2007
Dec 30th, 2008
0

Re: How do i use the same style sheet?

Click to Expand / Collapse  Quote originally posted by hughv ...
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
Featured Poster
Reputation Points: 46
Solved Threads: 45
Practically a Posting Shark
cohen is offline Offline
819 posts
since Nov 2008
Jan 7th, 2009
0

Re: How do i use the same style sheet?

css file include in home page's html code..
Reputation Points: 10
Solved Threads: 2
Newbie Poster
Joyce Sullivan is offline Offline
13 posts
since Jan 2009
Jan 10th, 2009
0

Re: How do i use the same style sheet?

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
Featured Poster
Reputation Points: 46
Solved Threads: 45
Practically a Posting Shark
cohen is offline Offline
819 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: what do i do?
Next Thread in Site Layout and Usability Forum Timeline: e-commerce help/suggestions





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC