DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Site Layout and Usability (http://www.daniweb.com/forums/forum130.html)
-   -   How do i use the same style sheet? (http://www.daniweb.com/forums/thread164866.html)

cohen Dec 29th, 2008 11:38 pm
How do i use the same style sheet?
 
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

hughv Dec 30th, 2008 12:51 am
Re: How do i use the same style sheet?
 
This line references the Style sheet for your Home:
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
You show two stylesheets for your forum:
<link rel="stylesheet" type="text/css" href="http://computer.forums.central-forums.net/Themes/babylon/style.css?fin11" />
        <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.

cohen Dec 30th, 2008 12:59 am
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

hughv Dec 30th, 2008 2:19 am
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:
<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" />
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.

cohen Dec 30th, 2008 2:30 am
Re: How do i use the same style sheet?
 
Quote:

Originally Posted by hughv (Post 766966)
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

hughv Dec 30th, 2008 2:40 am
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.

cohen Dec 30th, 2008 3:49 am
Re: How do i use the same style sheet?
 
Quote:

Originally Posted by hughv (Post 766974)
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

Joyce Sullivan Jan 7th, 2009 6:15 am
Re: How do i use the same style sheet?
 
css file include in home page's html code..

cohen Jan 10th, 2009 6:14 pm
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


All times are GMT -4. The time now is 5:52 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC