 |
 |
 |
 |
 |
| Author |
Message |
hanulbada
Joined: 17 Jul 2008 Posts: 6
|
|
[Resolved] When comments show, stylesheet doesn't work. |
|
Hey,
Sorry I have another problem, I guess i'm still not used to this script yet.
Well I have the main page where the news shows but when someone clicks on the comments link, it works but the external css file isn't applied, leaving the news in an ugly template. Sure the images and everything are showing but the css file doesn't seem to be working.
Check it out: http://hanulbada.net/test950.php/
Last edited by hanulbada on Mon Jul 21, 2008 9:40 pm; edited 1 time in total |
|
| Sun Jul 20, 2008 4:31 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Mystic2010
Joined: 10 Jan 2007 Posts: 50
|
|
|
|
Try adding
 |  | <base href="http://www.hanulbada.net/" /> |
in your <head> before  |  | <link href="style.css" rel="stylesheet" type="text/css"> |
|
|
| Sun Jul 20, 2008 11:11 am |
|
 |
Torstein
Joined: 03 Aug 2006 Posts: 96
|
|
|
|
Use the whole path to the CSS file.
So instead of just href="style.css" you use href="http://domain.com/style.css".
Because of the way the urls work in CNR, the browser might get confused if you use relative paths, same goes for javascripts you include in this way, and embeded files.

|
|
| Sun Jul 20, 2008 2:36 pm |
|
 |
hanulbada
Joined: 17 Jul 2008 Posts: 6
|
|
|
|
Thanks guys! It worked well. :]
|
|
| Mon Jul 21, 2008 9:40 pm |
|
 |
Yoshiii
Joined: 29 Feb 2008 Posts: 58
|
|
|
|
Or easier: put a slash in front... so /style.css
|
|
| Mon Jul 21, 2008 11:04 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
Yes your page looks good. All you need to do is elaborate on your templates. Don't over complicate them have fun with them and add your own cool twist if you can/want.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Tue Jul 22, 2008 1:02 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|